import type { Meta, StoryObj } from "@storybook/react";
import type { LabelProps } from "./Label";
import { Label } from "./Label";

type StoryType = StoryObj<typeof Label>;

const meta: Meta<typeof Label> = {
  title: "Forms/Label",
  component: Label,
};

export const Default: StoryType = {
  render: (args: LabelProps) => <Label {...args} />,
  args: {
    children: "Example label",
  },
};

export default meta;
