import type { Meta, StoryObj } from "@storybook/react-vite";
import { ServiceRow } from "../index";
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,
  },
};
