import React from "react"; import Flex, { FlexProps } from "../Flex"; import { Add, Filter, Person, Search, Sort } from "../../Icon/Icons"; import Button from "../../Button/Button"; import Chips from "../../Chips/Chips"; import { StoryDescription } from "vibe-storybook-components"; import { createStoryMetaSettingsDecorator } from "../../../storybook"; import styles from "./Flex.stories.module.scss"; const metaSettings = createStoryMetaSettingsDecorator({ component: Flex, enumPropNamesArray: ["justify", "align"], actionPropsArray: ["onClick"] }); const flexTemplate = (args: FlexProps) => { return ( ); }; export default { title: "Layout/Flex", component: Flex, argTypes: metaSettings.argTypes, decorators: metaSettings.decorators }; export const Overview = { render: flexTemplate.bind({}), name: "Overview", args: {} }; export const Directions = { render: () => (
), name: "Directions" }; export const HorizontalSpacingBetweenItems = { render: () => (
), name: "Horizontal spacing between items" }; export const VerticalSpacingBetweenItems = { render: () => ( ), name: "Vertical spacing between items" }; export const HorizontalPositions = { render: () => (
), name: "Horizontal positions" }; export const VerticalPositions = { render: () => ( ), name: "Vertical positions" }; export const SupportMultiLinesLayout = { render: () => ( ), name: "Support multi lines layout" }; export const FlexAsToolbarContainer = { render: () => ( ), name: "Flex as toolbar container" };