@chakra-ui/layout
Version:
Chakra UI layout components that give you massive speed
1 lines • 775 B
Source Map (JSON)
{"version":3,"sources":["../src/spacer.tsx"],"sourcesContent":["import { chakra, HTMLChakraProps } from \"@chakra-ui/system\"\n\nexport interface SpacerProps extends HTMLChakraProps<\"div\"> {}\n\n/**\n * A flexible flex spacer that expands along the major axis of its containing flex layout.\n * It renders a `div` by default, and takes up any available space.\n *\n * @see Docs https://chakra-ui.com/flex#using-the-spacer\n */\nexport const Spacer = chakra(\"div\", {\n baseStyle: {\n flex: 1,\n justifySelf: \"stretch\",\n alignSelf: \"stretch\",\n },\n})\n\nSpacer.displayName = \"Spacer\"\n"],"mappings":";;;AAAA,SAAS,cAA+B;AAUjC,IAAM,SAAS,OAAO,OAAO;AAAA,EAClC,WAAW;AAAA,IACT,MAAM;AAAA,IACN,aAAa;AAAA,IACb,WAAW;AAAA,EACb;AACF,CAAC;AAED,OAAO,cAAc;","names":[]}