import React from "react"; import BoxComponent from "./Box"; import FlexComponent from "./Flex"; import Text from "../Text/Text"; import { Link } from "../Link"; export default { title: "Components/Primitives", component: BoxComponent, argTypes: {}, }; export const Box: React.FC = () => { return (
Contains background, border, layout, position, and space from{" "} Styled System‘s API
); }; export const Flex: React.FC = () => { return (
Based on the Box component. You can apply any flexbox properties on the Flex component. List of applicable props Left right center
); };