import { PencilSimpleIcon } from "@phosphor-icons/react"; import type { Meta, StoryObj } from "@storybook/react-vite"; import { Card, Tabs } from "../react"; import styles from "../styles.module.css"; const meta = { title: "Designsystem/Tabs", } satisfies Meta; export default meta; type Story = StoryObj; const decorators: Story["decorators"] = [ (Story) => (
), ]; export const Default: Story = { parameters: { layout: "padded", }, render: () => ( Tab 1 Tab 2 Tab 3 Tab with very long content Tab with very long content Tab with very long content Panel 1 with link Panel 2 with link Panel 3 with link ), }; export const React: Story = { render: () => ( Tab 1 Tab 2 Tab 3 Panel 1 with link Panel 2 with link Panel 3 with link ), }; export const Sizes: Story = { render: () => ( Tab 1 Tab 2 Tab 3 Panel 1 with link Panel 2 with link Panel 3 with link ), }; export const WithReusePanel: Story = { decorators, render: () => ( Tab 1 Tab 2 Tab 3 My panel is used for all tabs! ), }; export const WithCardPanels: Story = { decorators, render: () => ( Tab 1 Tab 2 Tab 3 Panel 1 with link Panel 2 with link Panel 3 with link ), }; export const ReactWithCardPanels: Story = { decorators, render: () => ( Tab 1 Tab 2 Tab 3 Panel 1 with link Panel 2 with link Panel 3 with link ), };