import React from "react"; import { Box } from "../box"; import { Container as Component } from "."; import type { StoryFn, Meta } from "@storybook/react"; export default { title: "Container", component: Component, argTypes: { maxWidth: { options: ["fluid", "sm", "md", "lg", "xl"], defaultValue: "fluid", }, }, parameters: { layout: "fullscreen", }, args: { maxWidth: "fluid", }, } as Meta; const Template: StoryFn = (args) => ( <> Extra lg lg md sm Fluid Play ); export const Container = { render: Template, args: {}, decorators: [ (Story) => ( *": { border: "1px dashed $gray100", background: "rgb(148, 83, 140, 0.2)", height: "$500", color: "$primary", }, }} > ), ], parameters: { chromatic: { viewports: [767, 768, 900, 1024, 1440] }, }, };