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/StatusBadge.stories.tsx
Normal file
16
packages/ui/src/stories/StatusBadge.stories.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { StatusBadge } from "../components/StatusBadge";
|
||||
|
||||
const meta = {
|
||||
title: "UI/StatusBadge",
|
||||
component: StatusBadge,
|
||||
args: {
|
||||
label: "Ready",
|
||||
severity: "ok",
|
||||
},
|
||||
} satisfies Meta<typeof StatusBadge>;
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Ready: Story = {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue