17 lines
392 B
TypeScript
17 lines
392 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
import { LineChart } from "../index";
|
|
|
|
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 = {};
|