refactor(ui): extract reusable component package
This commit is contained in:
parent
e68eb2efee
commit
78a4e28dd4
85 changed files with 4144 additions and 0 deletions
19
src/stories/DashboardHeader.stories.tsx
Normal file
19
src/stories/DashboardHeader.stories.tsx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { DashboardHeader } from "../components/DashboardHeader";
|
||||
import { moduleBlocks } from "./story-data";
|
||||
|
||||
const meta = {
|
||||
title: "UI/DashboardHeader",
|
||||
component: DashboardHeader,
|
||||
args: {
|
||||
eyebrow: "Preview Surface",
|
||||
title: "Operations Console",
|
||||
subtitle: "Generic dashboard header",
|
||||
module: moduleBlocks.compact,
|
||||
},
|
||||
} satisfies Meta<typeof DashboardHeader>;
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const WithModule: Story = {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue