mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-03 07:03:30 +00:00
feat: create story for sync card
This commit is contained in:
parent
c43a28191d
commit
9b4fb7f1bb
@ -0,0 +1,24 @@
|
|||||||
|
import type { Meta, StoryObj } from '@storybook/react'
|
||||||
|
|
||||||
|
import SyncCard from './SyncCard'
|
||||||
|
|
||||||
|
const meta = {
|
||||||
|
title: 'ValidatorOnboarding/SyncCard',
|
||||||
|
component: SyncCard,
|
||||||
|
parameters: {
|
||||||
|
layout: 'centered',
|
||||||
|
},
|
||||||
|
tags: ['autodocs'],
|
||||||
|
argTypes: {},
|
||||||
|
} satisfies Meta<typeof SyncCard>
|
||||||
|
|
||||||
|
export default meta
|
||||||
|
type Story = StoryObj<typeof meta>
|
||||||
|
|
||||||
|
export const Page: Story = {
|
||||||
|
args: {
|
||||||
|
synced: 123.524,
|
||||||
|
total: 172.503,
|
||||||
|
title: 'Execution Sync Status',
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user