Examples
Props
Stack
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | null | content rendered inside the Stack layout |
className | string | '' | additional classes added to the Stack layout |
component | React.ReactNode | 'div' | Sets the base component to render. defaults to div |
hasGutter | boolean | false | Adds space between children. |
StackItem
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | null | additional classes added to the Stack Layout Item |
className | string | '' | content rendered inside the Stack Layout Item |
isFilled | boolean | false | Flag indicating if this Stack Layout item should fill the available vertical space. |
CSS variables
.pf-l-stack | --pf-l-stack--m-gutter--MarginBottom | 1rem | |
View source on GitHub