trigger | ReactNode | - | |
|
render | ReactElement | - | |
|
items | MenuItem[] | - | |
|
icon | boolean | true | |
|
iconPosition | leading | trailing | leading | |
|
open | boolean | - | |
|
onOpenChange | (open: boolean) => void | - | |
|
size | sm | md | lg | md | Trigger padding, popup width, item padding and item text size together. |
| Trigger padding, popup width, item padding and item text size together. |
shape | none | rounded | pill | rounded | |
|
disabled | boolean | false | Blocks the menu from opening at all & dims the trigger. |
| Blocks the menu from opening at all & dims the trigger. |
animated | boolean | true | |
|
className | string | - | |
|
focus | boolean | string | true | |
|
container | HTMLElement | null | - | |
|