import * as React from "react"; import Stack, { StackProps } from "../components/Stack"; import { Story, Meta } from "@storybook/react"; import { spacingSizeValues } from "../../../../storybookHelpers/controlConstants"; export default { title: "Layout/Stack", component: Stack, argTypes: { spacingSize: { options: spacingSizeValues, control: { type: "select" } }, className: { control: { disable: true } }, "data-cy": { control: { disable: true } } } } as Meta; const Template: Story = args => (
Lorem Ipsum is simply dummy text
of the printing and typesetting industry.
Lorem Ipsum has been the industry's
standard dummy text ever since the 1500s,
when an unknown printer took a galley of
type and scrambled it to make a type
specimen book. It has survived not only
five centuries, but also the leap into
electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s.
); export const Default = Template.bind({}); export const ResponsiveSpacingSize = Template.bind({}); ResponsiveSpacingSize.args = { spacingSize: { default: "none", small: "m", medium: "l", jumbo: "xl" } };