import { Story, Preview, Props } from "@storybook/addon-docs/blocks"; import { Layout, HorizontalGroup, VerticalGroup } from "./Layout"; import { Button } from "../Button"; import { Select } from "../index"; # Layout ## Generic Used for aligning items in specified orientation. Useful for multiple elements that need to be arranged in rows or columns. Expects multiple elements as `children` prop. This is the base for more specialised `Horizontal-` and `VerticalGroup` components. ### Props ## Horizontal Used for horizontally aligning several elements (e.g. Button, Select) with a predefined spacing between them. {}} options={[ { value: 1, label: "Option 1" }, { value: 2, label: "Option 2" }, ]} /> {}} options={[ { value: 1, label: "Option 1" }, { value: 2, label: "Option 2" }, ]} /> {}} options={[ { value: 1, label: "Option 1" }, { value: 2, label: "Option 2" }, ]} />