From 967be64bc82a442d97b91565b7e8acf0d53ee9b0 Mon Sep 17 00:00:00 2001 From: mimo Date: Fri, 22 Dec 2023 17:53:34 +0900 Subject: [PATCH] feat(react): clickable story updated csf2 to csf3 --- .../src/components/Clickable/index.story.tsx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/packages/react/src/components/Clickable/index.story.tsx b/packages/react/src/components/Clickable/index.story.tsx index fcbecfa93..2ae97a8a4 100644 --- a/packages/react/src/components/Clickable/index.story.tsx +++ b/packages/react/src/components/Clickable/index.story.tsx @@ -1,17 +1,20 @@ import { action } from '@storybook/addon-actions' import Clickable from '.' +import { StoryObj } from '@storybook/react' export default { title: 'Clickable', component: Clickable, } -export const Button = () => ( - button -) +export const Button: StoryObj = { + render: () => button, +} -export const Link = () => ( - - link - -) +export const Link: StoryObj = { + render: () => ( + + link + + ), +}