import { StoryObj, Meta } from '@storybook/react'; import { Tabs } from 'components/shared/Tabs'; import { Badge } from 'components/shared/Badge'; import { GlobeIcon } from 'components/shared/CustomIcon'; const meta: Meta = { title: 'Components/Tabs', component: Tabs, tags: ['autodocs'], parameters: { layout: 'fullscreen', }, argTypes: { orientation: { control: 'radio', options: ['horizontal', 'vertical'], }, }, }; export default meta; type Story = StoryObj; const tabs = Array.from({ length: 8 }); export const Default: Story = { render: ({ orientation }) => ( {tabs.map((_, index) => ( Tab item {index} ))} ), args: { orientation: 'horizontal', }, }; export const WithBages: Story = { render: ({ orientation }) => ( {tabs.map((_, index) => ( {index}} > Tab item ))} ), args: { ...Default.args, }, }; export const Vertical: Story = { render: ({ orientation }) => ( {tabs.slice(0, 4).map((_, index) => ( } value={index.toString()} > Tab item {index} ))} ), args: { orientation: 'vertical', }, };