Stack
Examples
Stack Props
The Stack component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
gutter | enum: sm, md, lg | null | Adds space between children. Options are sm, md or lg | |
children | node | null | content rendered inside the Stack layout | |
className | string | '' | additional classes added to the Stack layout | |
component | custom | 'div' | Sets the base component to render. defaults to div |
StackItem Props
The StackItem component accepts the following props.
Name | Type | Required | Default | Description |
---|---|---|---|---|
isMain | bool | false | Flag indicating if this Stack Layout item contains the primary content | |
children | node | null | additional classes added to the Stack Layout Item | |
className | string | '' | content rendered inside the Stack Layout Item |