A ComboButton has a button on the left and a dropdown containing a menu of more options on the right.
clear
clearGray
red
green
extraSmall
small
large
extraLarge
fullWidth
half
Property | Type | Required | Default | Description |
---|---|---|---|---|
type | Enum | false | button | The HTML type property of the primary ComboButton. |
iconPosition | Enum | false | after | The position of the icon in relation to other children in a ComboButton. |
closeOnSelect | Bool | false | true | Whether or not the Popover should trigger onRequestClose when an element is selected. |
dropdownIcon | Node | false | <CaretDownIcon filled size={14} /> | The icon used inside the dropdown button |
children | Node | false | - | The content of the component; should be a Menu with MenuItems for the dropdown. |
clear | Bool | false | - | Style prop used to render a clear ComboButton. |
clearGray | Bool | false | - | Style prop used to render a clear-gray ComboButton. |
extraSmall | Bool | false | - | Style prop used to render an extra small ComboButton. |
small | Bool | false | - | Style prop used to render a small ComboButton. |
large | Bool | false | - | Style prop used to render a large ComboButton. |
extraLarge | Bool | false | - | Style prop used to render an extra large ComboButton. |
fullWidth | Bool | false | - | Style prop used to render a 100% width ComboButton. |
half | Bool | false | - | Style prop used to render a 50% width ComboButton. |
red | Bool | false | - | Style prop used to render a red ComboButton. |
green | Bool | false | - | Style prop used to render a green ComboButton. |
disabled | Bool | false | - | The HTML disabled property of the primary ComboButton. |
href | String | false | - | The HTML href property of the primary ComboButton; results in rendering an anchor element. |
icon | Node | false | - | The icon that will be displayed as the content of a ComboButton. |