From fdc85874464e761c9db89ce7e2bb050c25a06bc4 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Mon, 1 Apr 2024 23:46:31 +0300 Subject: [PATCH] feat(validator blue section): create stories --- .../ValidatorBalance.stories.tsx | 19 +++++++++++++++++ .../ValidatorInfo.stories.tsx | 21 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorBalance.stories.tsx create mode 100644 src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorInfo.stories.tsx diff --git a/src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorBalance.stories.tsx b/src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorBalance.stories.tsx new file mode 100644 index 00000000..4afa231a --- /dev/null +++ b/src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorBalance.stories.tsx @@ -0,0 +1,19 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import ValidatorBalance from './ValidatorBalance' + +const meta = { + title: 'Manage Validator/ValidatorBalance', + component: ValidatorBalance, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: {}, +} diff --git a/src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorInfo.stories.tsx b/src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorInfo.stories.tsx new file mode 100644 index 00000000..02a1f029 --- /dev/null +++ b/src/pages/ManageValidator/LeftManage/ValidatorBlueSection/ValidatorInfo.stories.tsx @@ -0,0 +1,21 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import ValidatorInfo from './ValidatorInfo' +import { withRouter } from 'storybook-addon-react-router-v6' + +const meta = { + title: 'Manage Validator/ValidatorInfo', + component: ValidatorInfo, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], + decorators: [withRouter], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: {}, +}