Toggle theme

Inline🔗

An inline component is a <span> with display: inline, and a starting point for building your own custom inline components.

Example🔗

Props - Inline🔗

Name
Description
Type
Default Value
asAny valid React element, function, or a string specifying a name for an HTML elementunion(string,element,elementType,func)'span'
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