16 lines
434 B
TypeScript
16 lines
434 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
import { FooterStatusCell } from "../components/FooterStatusCell";
|
|
import { statusItems } from "./story-data";
|
|
|
|
const meta = {
|
|
title: "UI/FooterStatusCell",
|
|
component: FooterStatusCell,
|
|
args: {
|
|
item: statusItems.degraded,
|
|
},
|
|
} satisfies Meta<typeof FooterStatusCell>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Warning: Story = {};
|