ButtonGroup
Typedefs
- props
Props for ButtonGroup
- buttonProps
Props for a ButtonGroup button component
A component that creates a group of buttons.
Returns:
React.Element
— A React component that displays multiple buttons.
Parameters
Name | Type | Description |
---|---|---|
props | React component props |
Props for ButtonGroup
Properties
Name | Type | Description |
---|---|---|
classes | Object | An object containing the class names for the ButtonGroup component. |
classes.root | string | classes for root container |
items | the items to evaluate memoization recomputation. |
Props for a ButtonGroup button component
Properties
Name | Type | Description |
---|---|---|
children | ReactNodeLike | component to render for the ButtonGroups's button component |
key | string | the unique id for a button element |
Source Code: pwa-studio/packages/venia-ui/lib/components/ButtonGroup/buttonGroup.js