From 2254f5842909e52d9513de4935beeafb6bb057c3 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Mon, 1 Apr 2024 23:47:37 +0300 Subject: [PATCH] feat(page parts): add page parts stories --- .../LeftManage/PageParts/Footer.stories.tsx | 19 ++++++++++++++ .../LeftManage/PageParts/Header.stories.tsx | 26 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 src/pages/ManageValidator/LeftManage/PageParts/Footer.stories.tsx create mode 100644 src/pages/ManageValidator/LeftManage/PageParts/Header.stories.tsx diff --git a/src/pages/ManageValidator/LeftManage/PageParts/Footer.stories.tsx b/src/pages/ManageValidator/LeftManage/PageParts/Footer.stories.tsx new file mode 100644 index 00000000..20bc3493 --- /dev/null +++ b/src/pages/ManageValidator/LeftManage/PageParts/Footer.stories.tsx @@ -0,0 +1,19 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import Footer from './Footer' + +const meta = { + title: 'Manage Validator/Footer', + component: Footer, + 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/PageParts/Header.stories.tsx b/src/pages/ManageValidator/LeftManage/PageParts/Header.stories.tsx new file mode 100644 index 00000000..a227f196 --- /dev/null +++ b/src/pages/ManageValidator/LeftManage/PageParts/Header.stories.tsx @@ -0,0 +1,26 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import Header from './Header' + +const meta = { + title: 'Manage Validator/Header', + component: Header, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], + decorators: [ + Story => ( +
+ +
+ ), + ], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: {}, +}