Home > @uniformdev/design-system > ActionButtonsProps

ActionButtonsProps interface

Signature:

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

buttonText

</td><td>

</td><td>

React$1.ReactNode

</td><td>

sets the button text value

</td></tr> <tr><td>

buttonType?

</td><td>

</td><td>

ButtonThemeProps

</td><td>

(Optional) sets the theme of the button "secondary"

</td></tr> <tr><td>

children

</td><td>

</td><td>

React$1.ReactNode

</td><td>

adds child components to the ButtonWithMenu component

</td></tr> <tr><td>

icon?

</td><td>

</td><td>

IconName

</td><td>

(Optional) sets a leading icon supporting the button text

</td></tr> <tr><td>

maxMenuHeight?

</td><td>

</td><td>

string

</td><td>

(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

</td></tr> <tr><td>

menuContainerCssClasses?

</td><td>

</td><td>

SerializedStyles

</td><td>

(Optional) sets additional Menu component styles

</td></tr> <tr><td>

onButtonClick?

</td><td>

</td><td>

() => void

</td><td>

(Optional) Takes a function for the visible button

</td></tr> <tr><td>

placement?

</td><td>

</td><td>

MenuProps$1['placement']

</td><td>

(Optional) (optional) reakit placements options for the expandable menu

</td></tr> <tr><td>

size?

</td><td>

</td><td>

ButtonSizeProps

</td><td>

(Optional) sets the button size

</td></tr> <tr><td>

withoutPortal?

</td><td>

</td><td>

boolean

</td><td>

(Optional) sets whether to use a React portal rendering or not. false

</td></tr> </tbody></table>