refactor(ui): extract reusable component package
This commit is contained in:
parent
87261b5a3f
commit
2664804e91
86 changed files with 102 additions and 85 deletions
17
packages/ui/src/stories/LineChart.stories.tsx
Normal file
17
packages/ui/src/stories/LineChart.stories.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { LineChart } from "../components/LineChart";
|
||||
|
||||
const meta = {
|
||||
title: "UI/LineChart",
|
||||
component: LineChart,
|
||||
args: {
|
||||
values: [12, 18, 24, 20, 36, 44],
|
||||
severity: "ok",
|
||||
label: "Generic trend",
|
||||
},
|
||||
} satisfies Meta<typeof LineChart>;
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Trend: Story = {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue