From e2ee5ca1778899d0392b40cec08bba355f29b496 Mon Sep 17 00:00:00 2001 From: uknmr Date: Fri, 27 Sep 2024 10:33:00 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20Story=20=E3=81=AB=E5=9E=8B=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/TabBar/TabBar.stories.tsx | 6 +++--- .../src/components/TabBar/TabItem.stories.tsx | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/smarthr-ui/src/components/TabBar/TabBar.stories.tsx b/packages/smarthr-ui/src/components/TabBar/TabBar.stories.tsx index 8dd0c65a84..1bdbb31411 100644 --- a/packages/smarthr-ui/src/components/TabBar/TabBar.stories.tsx +++ b/packages/smarthr-ui/src/components/TabBar/TabBar.stories.tsx @@ -4,7 +4,7 @@ import React from 'react' import { TabBar } from './TabBar' import { TabItem } from './TabItem' -import type { Meta } from '@storybook/react' +import type { Meta, StoryObj } from '@storybook/react' export default { title: 'Navigation(ナビゲーション)/TabBar', @@ -25,13 +25,13 @@ export default { }, } as Meta -export const Default = { +export const Default: StoryObj = { args: { bordered: true, }, } -export const Playground = { +export const Playground: StoryObj = { args: { bordered: true, }, diff --git a/packages/smarthr-ui/src/components/TabBar/TabItem.stories.tsx b/packages/smarthr-ui/src/components/TabBar/TabItem.stories.tsx index 25a764f7c2..4d1037d7b9 100644 --- a/packages/smarthr-ui/src/components/TabBar/TabItem.stories.tsx +++ b/packages/smarthr-ui/src/components/TabBar/TabItem.stories.tsx @@ -5,7 +5,7 @@ import { Badge } from '../Badge' import { TabItem } from './TabItem' -import type { Meta } from '@storybook/react' +import type { Meta, StoryObj } from '@storybook/react' export default { title: 'Navigation(ナビゲーション)/TabBar/TabItem', @@ -21,7 +21,7 @@ export default { }, } as Meta -export const TabItemControl = { +export const TabItemControl: StoryObj = { name: 'Playground', args: { selected: true, @@ -29,28 +29,28 @@ export const TabItemControl = { }, } -export const Selected = { +export const Selected: StoryObj = { name: 'selected', args: { selected: true, }, } -export const Suffix = { +export const Suffix: StoryObj = { name: 'suffix', args: { suffix: , }, } -export const Disabled = { +export const Disabled: StoryObj = { name: 'disabled', args: { disabled: true, }, } -export const DisabledDetail = { +export const DisabledDetail: StoryObj = { name: 'disabledDetail', args: { disabled: true,