import type { Meta, StoryObj } from '@storybook/react';
import {
Tabs,
TabsContent,
TabsList,
TabsTrigger,
} from '@konobangu/design-system/components/ui/tabs';
/**
* A set of layered sections of content—known as tab panels—that are displayed
* one at a time.
*/
const meta = {
title: 'ui/Tabs',
component: Tabs,
tags: ['autodocs'],
argTypes: {},
args: {
defaultValue: 'account',
className: 'w-96',
},
render: (args) => (
Account
Password
Make changes to your account here.
Change your password here.
),
parameters: {
layout: 'centered',
},
} satisfies Meta;
export default meta;
type Story = StoryObj;
/**
* The default form of the tabs.
*/
export const Default: Story = {};