import type { Meta, StoryObj } from "@storybook/react-vite";
import { TelemetryCard } from "../index";
import { telemetryCards } from "./story-data";

const meta = {
  title: "UI/TelemetryCard",
  component: TelemetryCard,
  args: {
    card: telemetryCards.percent,
  },
} satisfies Meta<typeof TelemetryCard>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Percent: Story = {};
export const Danger: Story = {
  args: {
    card: telemetryCards.danger,
  },
};
