import type { Meta, StoryObj } from "@storybook/react"; import type { StackProps } from "."; import { Stack } from "."; import { excludeControls } from "../../utils"; import { Button } from "../Button"; type StoryType = StoryObj; const meta: Meta = { title: "Layout/Stack", component: Stack, argTypes: { ...excludeControls("className"), gap: { control: { type: "select", options: ["", "xs", "sm", "md", "lg", "xl"], }, }, }, }; export const Default: StoryType = { render: (args: StackProps) => ( ), args: { gap: "xs", }, }; export const Nested: StoryType = { render: (args: StackProps) => ( ), args: { gap: "xs", }, }; export default meta;