From ec55c39169f9e195325257730404714d59ec20d8 Mon Sep 17 00:00:00 2001 From: Jeongmin Lee Date: Tue, 14 Jan 2025 00:45:52 +0900 Subject: [PATCH] chore(card): add argTypes for ratio and variant in Card stories --- packages/card/src/Card.stories.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/card/src/Card.stories.tsx b/packages/card/src/Card.stories.tsx index 2afa3b5..cafcb08 100644 --- a/packages/card/src/Card.stories.tsx +++ b/packages/card/src/Card.stories.tsx @@ -7,6 +7,16 @@ const meta = { parameters: { layout: 'centered', }, + argTypes: { + ratio: { + control: 'select', + options: ['rectangle', 'square', 'wide', 'portrait', 'auto'], + }, + variant: { + control: 'select', + options: ['filled', 'outline'], + }, + }, } satisfies Meta; export default meta; @@ -15,7 +25,6 @@ type Story = StoryObj; export const Default: Story = { args: { children: Card, - ratio: 'portrait', variant: 'filled', }, };