import { Button } from "../components/Button"; import { TabContent, TabList, TabProvider, TabTrigger, } from "../components/Tabs"; export default { title: "React/Tabs", decorators: [ (Story: any) => {Story()}, ], parameters: { layout: "centered", }, }; export const Default = () => { return ( <>
Tab 1 Tab 2
Tab 1 Content
Tab 2 Content
); }; export const AsChild = () => { return ( <>
Tab 1 Content
Tab 2 Content
); };