diff --git a/site/src/components/Form/Form.stories.tsx b/site/src/components/Form/Form.stories.tsx new file mode 100644 index 0000000000000..b1dafb94f03a1 --- /dev/null +++ b/site/src/components/Form/Form.stories.tsx @@ -0,0 +1,36 @@ +import TextField from "@mui/material/TextField"; +import type { Meta, StoryObj } from "@storybook/react"; +import { Form, FormFields, FormSection } from "./Form"; + +const meta: Meta = { + title: "components/Form", + component: Form, + args: { + children: ( + + + + + + + ), + }, +}; + +export default meta; +type Story = StoryObj; + +export const Vertical: Story = { + args: { + direction: "vertical", + }, +}; + +export const Horizontal: Story = { + args: { + direction: "horizontal", + }, +};