refactor(ui): extract reusable component package

This commit is contained in:
vince 2026-06-20 05:27:09 +02:00
parent 87261b5a3f
commit 2664804e91
86 changed files with 102 additions and 85 deletions

View file

@ -1,21 +0,0 @@
import type { Meta, StoryObj } from "@storybook/react-vite";
import { ServiceRow } from "../components/ServiceRow";
import { serviceRows } from "./story-data";
const meta = {
title: "UI/ServiceRow",
component: ServiceRow,
args: {
service: serviceRows.normal,
},
} satisfies Meta<typeof ServiceRow>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Normal: Story = {};
export const Warning: Story = {
args: {
service: serviceRows.degraded,
},
};