feat: create story for tag container

This commit is contained in:
RadoslavDimchev 2023-12-20 11:19:36 +02:00
parent 4681607107
commit fe829236eb
1 changed files with 29 additions and 0 deletions

View File

@ -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<typeof TagContainer>
export default meta
type Story = StoryObj<typeof meta>
export const Pair: Story = {
args: {
selectedTag: 'pair',
},
}
export const Create: Story = {
args: {
selectedTag: 'create',
},
}