Split button
A split button lets people perform an action or choose from a small group of similar actions.Props
| Description | The style variation for child buttons. Will override any appearance set on a child button. |
|---|---|
| Default | "default" |
| Type | "default" | "primary" |
| Description | Only two children are allowed. First child is the primary action, second child is the secondary action. The assumption is that for both children trees there is a button reading the context. |
|---|---|
| Type | string | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal |
| Description | Whether all child buttons should be disabled. |
|---|---|
| Default | false |
| Type | boolean |
| Description | Controls the amount of padding in the child buttons. |
|---|---|
| Default | "default" |
| Type | "default" | "compact" |