From 5d341fc64c93ab8c5aabffce35621e2d8b5ea573 Mon Sep 17 00:00:00 2001 From: Gaby Zifferman Date: Thu, 21 Nov 2024 11:40:57 +0100 Subject: [PATCH] docs: update tabs stories --- .../data-display/Tabs/Tabs.stories.tsx | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/components/data-display/Tabs/Tabs.stories.tsx b/src/components/data-display/Tabs/Tabs.stories.tsx index 86ceb6878..2a1148a68 100644 --- a/src/components/data-display/Tabs/Tabs.stories.tsx +++ b/src/components/data-display/Tabs/Tabs.stories.tsx @@ -4,8 +4,27 @@ import { Tabs } from 'src/components/data-display/Tabs/Tabs' const meta: Meta = { title: 'Components/Data Display/Tabs', component: Tabs, - - args: {}, + args: { + defaultActiveKey: '1', + items: [ + { + label: 'Tab 1', + key: '1', + children: 'Tab 1', + }, + { + label: 'Tab 2', + key: '2', + children: 'Tab 2', + disabled: true, + }, + { + label: 'Tab 3', + key: '3', + children: 'Tab 3', + }, + ], + }, } export default meta