import type { Meta, StoryObj } from "@storybook/preact";
import { FieldLabel } from "./FieldLabel";

const meta: Meta<typeof FieldLabel> = { title: "Primitives/FieldLabel", component: FieldLabel };
export default meta;
type Story = StoryObj<typeof FieldLabel>;

export const Regular: Story = { args: { field: "revenue" } };
export const ForeignKey: Story = { args: { field: "client_id" } };
export const SnakeCase: Story = { args: { field: "first_name" } };
export const Required: Story = { args: { field: "email", required: true } };
