Content
Content containers allow merchants to easily scan information to understand its hierarchy and rhythm.
<Container> <Content>...</Content> </Container>
Parameters
props
- Type:
@vtex/shoreline-components.ContentProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>
Props
as
(optional)
Select the rendered html tag
-
Type:
@vtex/shoreline-components.ContentContainerAs
-
Default:
'div'
narrow
(optional)
Decrease the space token in top and bottom padding.
-
Type:
boolean
-
Default:
false