Home > @uniformdev/design-system > ActionButtonsProps
ActionButtonsProps interface
Signature:
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
buttonText | React$1.ReactNode | sets the button text value | |
buttonType? | ButtonThemeProps | (Optional) sets the theme of the button "secondary" | |
children | React$1.ReactNode | adds child components to the ButtonWithMenu component | |
icon? | IconName | (Optional) sets a leading icon supporting the button text | |
maxMenuHeight? | string | (Optional) (optional) sets the maximum height of the menu setting a max menu height value will make the menu scrollable if the content exceeds the height this is not compatible with nested menus that expand to the left or right of the menu | |
menuContainerCssClasses? | SerializedStyles | (Optional) sets additional Menu component styles | |
onButtonClick? | () => void | (Optional) Takes a function for the visible button | |
placement? | MenuProps$1['placement'] | (Optional) (optional) reakit placements options for the expandable menu | |
portal? | boolean | (Optional) sets whether to use a React portal rendering or not. | |
shortcut? | ShortcutReference | (Optional) Sets a shortcut for the button. The shortcut's handler function will be automatically set to the onClick of the button, and a tooltip will be added to the button that shows the keyboard shortcut. | |
size? | ButtonSizeProps | (Optional) sets the button size | |
tooltip? | React$1.ReactNode | (Optional) Sets a tooltip on the button when hovered Note that the tooltip will be shown whether disabled or not. | |
withoutPortal? | boolean | (Optional) sets whether to use a React portal rendering or not. |