feat: add examples to validator list item story

This commit is contained in:
RadoslavDimchev 2023-10-19 10:59:59 +03:00
parent a998a38adb
commit 32bcaa14ee
1 changed files with 39 additions and 2 deletions

View File

@ -16,9 +16,46 @@ type Story = StoryObj<typeof meta>
export const Default: Story = { export const Default: Story = {
args: { args: {
validatorAddress: '37880sfsef38fsb', validatorAddress: 'zQ3asdf9d4Gs0',
name: 'Validator 1', name: '1',
},
}
export const WithAvatarChip: Story = {
args: {
validatorAddress: 'zQ3asdf9d4Gs0',
name: '1',
isAvatarChipIncluded: true, isAvatarChipIncluded: true,
},
}
export const Verified: Story = {
args: {
validatorAddress: 'zQ3asdf9d4Gs0',
name: '1',
isVerified: true, isVerified: true,
}, },
} }
export const BothIncluded: Story = {
args: {
validatorAddress: 'zQ3asdf9d4Gs0',
name: '1',
isVerified: true,
isAvatarChipIncluded: true,
},
}
export const WithDifferentName: Story = {
args: {
validatorAddress: 'zQ3asdf9d4Gs0',
name: '2',
},
}
export const WithDifferentValidatorAddress: Story = {
args: {
validatorAddress: 'aW4asdf8t3Hs2',
name: '1',
},
}