Interface: MenuActionsProps#
Renderer.Component.MenuActionsProps
Hierarchy#
Partial
<MenuProps
>
↳ MenuActionsProps
Table of contents#
Properties#
- animated
- autoCloseOnSelect
- autoFocus
- children
- className
- closeOnClickItem
- closeOnClickOutside
- closeOnScroll
- htmlFor
- id
- isOpen
- onOpen
- position
- removeAction
- removeConfirmationMessage
- toggleEvent
- toolbar
- triggerIcon
- updateAction
- usePortal
Methods#
Properties#
animated#
• Optional
animated: boolean
Inherited from#
Partial.animated
autoCloseOnSelect#
• Optional
autoCloseOnSelect: boolean
autoFocus#
• Optional
autoFocus: boolean
Inherited from#
Partial.autoFocus
children#
• Optional
children: ReactNode
Inherited from#
Partial.children
className#
• Optional
className: string
Overrides#
Partial.className
closeOnClickItem#
• Optional
closeOnClickItem: boolean
Inherited from#
Partial.closeOnClickItem
closeOnClickOutside#
• Optional
closeOnClickOutside: boolean
Inherited from#
Partial.closeOnClickOutside
closeOnScroll#
• Optional
closeOnScroll: boolean
Inherited from#
Partial.closeOnScroll
htmlFor#
• Optional
htmlFor: string
Inherited from#
Partial.htmlFor
id#
• Optional
id: string
Overrides#
Partial.id
isOpen#
• Optional
isOpen: boolean
Inherited from#
Partial.isOpen
onOpen#
• Optional
onOpen: () => void
Type declaration#
▸ (): void
Returns#
void
position#
• Optional
position: MenuPosition
Inherited from#
Partial.position
removeAction#
• Optional
removeAction: () => void
| Promise
<void
>
Type declaration#
▸ (): void
| Promise
<void
>
deprecated
Provide your own remove <MenuItem>
as part of the children
passed to this component
Returns#
void
| Promise
<void
>
removeConfirmationMessage#
• Optional
removeConfirmationMessage: ReactNode
| () => ReactNode
deprecated
Provide your own remove <MenuItem>
as part of the children
passed to this component
toggleEvent#
• Optional
toggleEvent: "contextmenu"
| "click"
Inherited from#
Partial.toggleEvent
toolbar#
• Optional
toolbar: boolean
triggerIcon#
• Optional
triggerIcon: ReactNode
| IconProps
& TooltipDecoratorProps
updateAction#
• Optional
updateAction: () => void
| Promise
<void
>
Type declaration#
▸ (): void
| Promise
<void
>
deprecated
Provide your own update <MenuItem>
as part of the children
passed to this component
Returns#
void
| Promise
<void
>
usePortal#
• Optional
usePortal: boolean
| HTMLElement
Inherited from#
Partial.usePortal
Methods#
close#
▸ Optional
close(): void
Returns#
void
Inherited from#
Partial.close
open#
▸ Optional
open(): void
Returns#
void
Inherited from#
Partial.open