From fe829236ebaab266e82164a115970261ea580f62 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 20 Dec 2023 11:19:36 +0200 Subject: [PATCH] feat: create story for tag container --- .../General/TagContainer.stories.ts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/components/General/TagContainer.stories.ts diff --git a/src/components/General/TagContainer.stories.ts b/src/components/General/TagContainer.stories.ts new file mode 100644 index 00000000..24e33e0e --- /dev/null +++ b/src/components/General/TagContainer.stories.ts @@ -0,0 +1,29 @@ +import type { Meta, StoryObj } from '@storybook/react' +import { withRouter } from 'storybook-addon-react-router-v6' + +import TagContainer from './TagContainer' + +const meta = { + title: 'General/TagContainer', + component: TagContainer, + parameters: { + layout: 'centered', + }, + decorators: [withRouter], + tags: ['autodocs'], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Pair: Story = { + args: { + selectedTag: 'pair', + }, +} + +export const Create: Story = { + args: { + selectedTag: 'create', + }, +}