diff --git a/site/src/components/Stack/Stack.stories.tsx b/site/src/components/Stack/Stack.stories.tsx new file mode 100644 index 0000000000..773e309ce2 --- /dev/null +++ b/site/src/components/Stack/Stack.stories.tsx @@ -0,0 +1,47 @@ +import type { Meta, StoryObj } from "@storybook/react"; +import { Stack } from "./Stack"; + +const meta: Meta = { + title: "components/Stack", + component: Stack, + args: { + children: ( + <> + チェンソーマン + ジョジョの奇妙な冒険 + スパイファミリー + 葬送のフリーレン + 少女革命ウテナ + PSYCHO-PASS サイコパス + 機動戦士ガンダム 水星の魔女 + 勇気爆発バーンブレイバーン + Re:ゼロから始める異世界生活 + ダンジョン飯 + + ), + }, +}; + +export default meta; +type Story = StoryObj; + +export const Vertical: Story = {}; + +export const VerticalCenter: Story = { + args: { + alignItems: "center", + }, +}; + +export const Horizontal: Story = { + args: { + direction: "row", + }, +}; + +export const HorizontalWrap: Story = { + args: { + direction: "row", + wrap: "wrap", + }, +};