feat(storybook): migrate stories to react

This commit is contained in:
vince 2026-06-19 23:45:54 +02:00
parent 92a8990e7a
commit 76fe468df5
64 changed files with 590 additions and 685 deletions

View file

@ -0,0 +1,25 @@
import type { Meta, StoryObj } from "@storybook/react-vite";
import { GridFrame } from "../components/GridFrame";
import { ModuleCard } from "../components/ModuleCard";
import { moduleBlocks } from "./story-data";
const meta = {
title: "UI/GridFrame",
component: GridFrame,
render: (args) => (
<GridFrame {...args}>
<ModuleCard module={moduleBlocks.compact} />
<ModuleCard module={moduleBlocks.unavailable} />
<ModuleCard module={moduleBlocks.long} />
</GridFrame>
),
} satisfies Meta<typeof GridFrame>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Dense: Story = {
args: {
density: "dense",
},
};