import * as React from "react"; import { StoryFn, Meta } from "@storybook/react"; import { FieldGroup } from ".."; import { TextInput } from "../../textInput"; export default { title: "Forms/Form structure/FieldGroup", component: FieldGroup, argTypes: { direction: { options: ["row", "column"] } }, args: { direction: "row" } } as Meta; const Template: StoryFn = args => ( ); export const Default = { render: Template }; export const ResponsiveLayout = { render: Template, args: { direction: { default: "column", small: "row" } } };