Toggle theme

Flex🔗

A Flex component is a div with display: flex and some preconfigured flex properties:

Example🔗

Props - Flex🔗

Name
Description
Type
Default Value
asAny valid React element, function, or a string specifying a name for an HTML elementunion(string,element,elementType,func)'div'
childrenA JSX nodenoden/a
classNameAdd an additional custom className to element. Warning: make sure it doesn't collide with the classNames being generated for the atomic CSS *stringn/a
extendAn object containing valid CSS style declarationsunion(object,func,array)n/a
2022 © Volvo Car Corporation