refactor(ui): extract reusable component package
This commit is contained in:
parent
87261b5a3f
commit
2664804e91
86 changed files with 102 additions and 85 deletions
16
packages/ui/src/stories/FooterStatusCell.stories.tsx
Normal file
16
packages/ui/src/stories/FooterStatusCell.stories.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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 = {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue