Toggle theme

Block🔗

A block component is a <div> with display: block, and a starting point for building your own custom block components.

Example🔗

Props - Block🔗

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 CSSstringn/a
extendAn object containing valid CSS style declarationsunion(object,func,array)n/a
2022 © Volvo Car Corporation