import type { Meta, StoryObj } from "@storybook/react"; import { StyledTab } from "../components/StyledTab.js"; import { BoltIcon, FireIcon } from "../index.js"; /** * StyledTab component wraps the [\](https://headlessui.com/react/tabs) component from Headless UI. */ const meta = { // https://github.com/tailwindlabs/headlessui/issues/2306 causes problems with Typescript // eslint-disable-next-line @typescript-eslint/no-explicit-any component: StyledTab as any, } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: () => (
Code panel Settings panel
), }; export const Stretch: Story = { render: () => (
Code panel Settings panel
), }; export const Primary: Story = { render: () => (
Code panel Settings panel
), }; export const JustRootComponents: Story = { render: () => ( ), };