DropdownMenuTrigger API
API reference docs for theDropdownMenuTrigger
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
|
| Variant of the button. |
|
|
| Size of the button. |
|
|
| The icon to display before the buttons children. | _ |
|
| The icon to display after the buttons children. | _ |
|
| Text to read out to assistive technologies when button is loading. | _ |
|
| If true, the button is disabled. |
|
|
| If true ,the button will display a loading indicator. |
|
|
| If true, the button will be visually styled as pressed and the | _ |
|
| The content to be displayed inside the button. | _ |
|
| Specifies the form element the button is associated with. | _ |
|
| Function to call when the button loses focus. | _ |
|
| Function to call when the button receives focus. | _ |
|
| Function to call when a key is pressed while the button is focused. | _ |