mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-12 11:28:00 +00:00
feat: add examples for key generation sync card story
This commit is contained in:
parent
53775bac2d
commit
99b150ef6a
@ -15,7 +15,7 @@ const meta = {
|
||||
export default meta
|
||||
type Story = StoryObj<typeof meta>
|
||||
|
||||
export const Page: Story = {
|
||||
export const Blue: Story = {
|
||||
args: {
|
||||
synced: 123.524,
|
||||
total: 172.503,
|
||||
@ -23,3 +23,57 @@ export const Page: Story = {
|
||||
color: '#2a4af5',
|
||||
},
|
||||
}
|
||||
|
||||
export const Red: Story = {
|
||||
args: {
|
||||
synced: 123.524,
|
||||
total: 172.503,
|
||||
title: 'Execution Sync Status',
|
||||
color: '#ff6161',
|
||||
},
|
||||
}
|
||||
|
||||
export const MaxValue: Story = {
|
||||
args: {
|
||||
synced: 172.503,
|
||||
total: 172.503,
|
||||
title: 'Execution Sync Status',
|
||||
color: '#2a4af5',
|
||||
},
|
||||
}
|
||||
|
||||
export const OverMaxValue: Story = {
|
||||
args: {
|
||||
synced: 200,
|
||||
total: 172.503,
|
||||
title: 'Execution Sync Status',
|
||||
color: '#2a4af5',
|
||||
},
|
||||
}
|
||||
|
||||
export const MinValue: Story = {
|
||||
args: {
|
||||
synced: 0,
|
||||
total: 172.503,
|
||||
title: 'Execution Sync Status',
|
||||
color: '#2a4af5',
|
||||
},
|
||||
}
|
||||
|
||||
export const UnderMinValue: Story = {
|
||||
args: {
|
||||
synced: -100,
|
||||
total: 172.503,
|
||||
title: 'Execution Sync Status',
|
||||
color: '#2a4af5',
|
||||
},
|
||||
}
|
||||
|
||||
export const WithoutTitle: Story = {
|
||||
args: {
|
||||
synced: 123.524,
|
||||
total: 172.503,
|
||||
title: '',
|
||||
color: '#2a4af5',
|
||||
},
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user