feat(storybook): migrate stories to react
This commit is contained in:
parent
92a8990e7a
commit
76fe468df5
64 changed files with 590 additions and 685 deletions
16
src/lib/ui/stories/ServiceGroupPanel.stories.tsx
Normal file
16
src/lib/ui/stories/ServiceGroupPanel.stories.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type { Meta, StoryObj } from "@storybook/react-vite";
|
||||
import { ServiceGroupPanel } from "../components/ServiceGroupPanel";
|
||||
import { serviceGroups } from "./story-data";
|
||||
|
||||
const meta = {
|
||||
title: "UI/ServiceGroupPanel",
|
||||
component: ServiceGroupPanel,
|
||||
args: {
|
||||
group: serviceGroups.mixed,
|
||||
},
|
||||
} satisfies Meta<typeof ServiceGroupPanel>;
|
||||
|
||||
export default meta;
|
||||
type Story = StoryObj<typeof meta>;
|
||||
|
||||
export const Mixed: Story = {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue