Skip to content

Commit

Permalink
feat: 스토리북 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Sep 11, 2024
1 parent 4fa181e commit a83ebbb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/wow-ui/src/components/Tabs/Tabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ const meta: Meta<TabsProps> = {
},
},
argTypes: {
children: {
description:
"TabsList,TabsTrigger, TabsContent 를 children 으로 받습니다.",
table: {
type: { summary: "ReactNode" },
},
control: false,
},
value: {
description: "현재 선택된 탭의 값을 나타냅니다.",
table: {
Expand All @@ -47,6 +55,30 @@ const meta: Meta<TabsProps> = {
},
action: "changed",
},
label: {
description: "각 탭을 구분할 수 있는 레이블입니다.",
table: {
type: { summary: "string" },
},
control: "text",
},
style: {
description: "탭의 커스텀 스타일을 설정합니다.",
table: {
type: { summary: "CSSProperties" },
defaultValue: { summary: "{}" },
},
control: false,
},
className: {
description: "탭에 전달하는 커스텀 클래스를 설정합니다.",
table: {
type: { summary: "string" },
},
control: {
type: "text",
},
},
},
} satisfies Meta<typeof Tabs>;

Expand Down

0 comments on commit a83ebbb

Please sign in to comment.