import { Meta, StoryObj } from "@storybook/react"; import { Field } from "."; import { FieldLabel } from "./FieldLabel"; import { FieldInput } from "./FieldInput"; import { FieldErrorMessage } from "./FieldError"; import { FieldMessage } from "./FieldMessage"; import { FieldStateControls } from "@sb/helpers"; export default { title: "Fields/Field", component: Field, argTypes: { ...FieldStateControls, }, } as Meta; type Story = StoryObj; export const Default: Story = { args: { children: [ Label, Message, , Error Message, ], }, };