Toggle theme
A Flex component is a div with display: flex
and some preconfigured flex properties:
Name | Description | Type | Default Value |
---|---|---|---|
as | Any valid React element, function, or a string specifying a name for an HTML element | union(string,element,elementType,func) | 'div' |
children | A JSX node | node | n/a |
className | Add an additional custom className to element. Warning: make sure it doesn't collide with the classNames being generated for the atomic CSS * | string | n/a |
extend | An object containing valid CSS style declarations | union(object,func,array) | n/a |