From a7b947afe54fc0b8747e0ce04f88046db0e53b0b Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Wed, 27 Sep 2023 11:23:39 +0300 Subject: [PATCH] Create ValidatorListItem.stories.tsx --- .../ValidatorListItem.stories.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/pages/Dashboard/RightSideBar/ValidatorListItem.stories.tsx diff --git a/src/pages/Dashboard/RightSideBar/ValidatorListItem.stories.tsx b/src/pages/Dashboard/RightSideBar/ValidatorListItem.stories.tsx new file mode 100644 index 00000000..0446b9c6 --- /dev/null +++ b/src/pages/Dashboard/RightSideBar/ValidatorListItem.stories.tsx @@ -0,0 +1,19 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import ValidatorListItem from './ValidatorListItem' + +const meta = { + title: 'Dashboard/ValidatorListItem', + component: ValidatorListItem, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: { avatarKey: '37880sfsef38fsb', name: 'Validator 1', selected: true, isAvatarChipIncluded: true, isVerified: true }, +}