From a83ebbbd73e991b4ee4ece82c81b8593790a1777 Mon Sep 17 00:00:00 2001 From: SeieunYoo Date: Thu, 12 Sep 2024 02:02:31 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=8A=A4=ED=86=A0=EB=A6=AC=EB=B6=81=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/Tabs/Tabs.stories.tsx | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/packages/wow-ui/src/components/Tabs/Tabs.stories.tsx b/packages/wow-ui/src/components/Tabs/Tabs.stories.tsx index 6fb662b0..fe3484b8 100644 --- a/packages/wow-ui/src/components/Tabs/Tabs.stories.tsx +++ b/packages/wow-ui/src/components/Tabs/Tabs.stories.tsx @@ -26,6 +26,14 @@ const meta: Meta = { }, }, argTypes: { + children: { + description: + "TabsList,TabsTrigger, TabsContent 를 children 으로 받습니다.", + table: { + type: { summary: "ReactNode" }, + }, + control: false, + }, value: { description: "현재 선택된 탭의 값을 나타냅니다.", table: { @@ -47,6 +55,30 @@ const meta: Meta = { }, 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;