Examples
Props
ActionList
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Children of the action list | |
className | string | '' | Additional classes added to the action list |
isIconList | boolean | Flag indicating the action list contains multiple icons and item padding should be removed |
ActionListGroup
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Children of the action list group | |
className | string | '' | Additional classes added to the action list group |
ActionListItem
Name | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | Children of the action list item | |
className | string | '' | Additional classes added to the action list item |
CSS variables
.pf-c-action-list | --pf-c-action-list--m-icon--spacer | 0 | |
.pf-c-action-list | --pf-c-action-list--child--spacer-base | 1rem | |
.pf-c-action-list | --pf-c-action-list--group--spacer-base | 3rem | |
.pf-c-action-list | --pf-c-action-list--child--spacer | 1rem | |
.pf-c-action-list | --pf-c-action-list--group--spacer | 3rem | |
.pf-c-action-list.pf-m-icons | --pf-c-action-list--child--spacer | 0 | |
View source on GitHub