Split
Examples
Split Props
The Split 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 Split layout | |
| className | string | '' | additional classes added to the Split layout | |
| component | custom | 'div' | Sets the base component to render. defaults to div |
SplitItem Props
The SplitItem component accepts the following props.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| isMain | bool | false | Flag indicating if this Split Layout item contains the primary content | |
| children | node | null | content rendered inside the Split Layout Item | |
| className | string | '' | additional classes added to the Split Layout Item |