feat: create story for tag container
This commit is contained in:
parent
4681607107
commit
fe829236eb
|
@ -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',
|
||||
},
|
||||
}
|
Loading…
Reference in New Issue