diff options
Diffstat (limited to 'src/components/organisms/comment/pending-comment')
| -rw-r--r-- | src/components/organisms/comment/pending-comment/pending-comment.stories.ts | 15 | ||||
| -rw-r--r-- | src/components/organisms/comment/pending-comment/pending-comment.stories.tsx | 21 |
2 files changed, 15 insertions, 21 deletions
diff --git a/src/components/organisms/comment/pending-comment/pending-comment.stories.ts b/src/components/organisms/comment/pending-comment/pending-comment.stories.ts new file mode 100644 index 0000000..d823082 --- /dev/null +++ b/src/components/organisms/comment/pending-comment/pending-comment.stories.ts @@ -0,0 +1,15 @@ +import type { Meta, StoryObj } from '@storybook/react'; +import { PendingComment } from './pending-comment'; + +const meta = { + component: PendingComment, + title: 'Organisms/Comment/Pending', +} satisfies Meta<typeof PendingComment>; + +export default meta; + +type Story = StoryObj<typeof meta>; + +export const Example: Story = { + args: {}, +}; diff --git a/src/components/organisms/comment/pending-comment/pending-comment.stories.tsx b/src/components/organisms/comment/pending-comment/pending-comment.stories.tsx deleted file mode 100644 index 1b6e1d9..0000000 --- a/src/components/organisms/comment/pending-comment/pending-comment.stories.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import type { ComponentMeta, ComponentStory } from '@storybook/react'; -import { PendingComment } from './pending-comment'; - -/** - * PendingComment - Storybook Meta - */ -export default { - title: 'Organisms/Comment/PendingComment', - component: PendingComment, - argTypes: {}, -} as ComponentMeta<typeof PendingComment>; - -const Template: ComponentStory<typeof PendingComment> = (args) => ( - <PendingComment {...args} /> -); - -/** - * PendingComment Stories - Default - */ -export const Default = Template.bind({}); -Default.args = {}; |
