Skip to content

Commit

Permalink
feat: faq storybook test component
Browse files Browse the repository at this point in the history
  • Loading branch information
kimyouknow committed Sep 9, 2023
1 parent 079fc52 commit 2ec10c2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/components/FAQ/FAQ.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { Meta, StoryObj } from '@storybook/react';

import { FAQ } from './index';

const meta: Meta<typeof FAQ> = {
title: 'components/FAQ',
component: FAQ,
args: {},
};

export default meta;

type Story = StoryObj<typeof FAQ>;

export const Primary: Story = {
render: () => <FAQ />,
};
3 changes: 3 additions & 0 deletions src/components/FAQ/FAQ.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function FAQ() {
return <div>FAQ</div>;
}
1 change: 1 addition & 0 deletions src/components/FAQ/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { FAQ } from './FAQ';

0 comments on commit 2ec10c2

Please sign in to comment.