import type { Meta, StoryObj } from "@storybook/react"; import { action } from "@storybook/addon-actions"; import { Box, Button, Stack, Text } from "../../../components"; import { animControllerInView, fadeInLeft, fadeInUp, springIn, } from "../../../theme/animations"; const mockCopy = "Example of a block of copy. Have added 'my-10' to this block to get more aesthetical spacing above and below, but generally you'd set the gap on the encasing stack for consistency."; const meta: Meta = { component: Stack, tags: ["autodocs"], argTypes: { gap: { control: { type: "range", min: 0, max: 20, }, }, }, }; export default meta; type Story = StoryObj; const handleStackClick = action("stack CTA clicked"); export const VerticalStack: Story = { args: { className: "w-1/2", direction: "column", gap: 2, children: [ , , ,