Skip to content

Interface: MenuActionsProps#

Renderer.Component.MenuActionsProps

Hierarchy#

↳ MenuActionsProps

↳↳ KubeObjectMenuProps

Table of contents#

Properties#

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

Inherited from#

Partial.id


isOpen#

• Optional isOpen: boolean

Inherited from#

Partial.isOpen


position#

• Optional position: MenuPosition

Inherited from#

Partial.position


removeConfirmationMessage#

• Optional removeConfirmationMessage: ReactNode | () => ReactNode

deprecated Provide your own remove <MenuItem> as part of the children passed to this component


toggleEvent#

• Optional toggleEvent: "click" | "contextmenu"

Inherited from#

Partial.toggleEvent


toolbar#

• Optional toolbar: boolean


triggerIcon#

• Optional triggerIcon: ReactNode | IconProps


usePortal#

• Optional usePortal: boolean | HTMLElement

Inherited from#

Partial.usePortal

Methods#

close#

▸ Optional close(): void

Returns#

void

Inherited from#

Partial.close


onOpen#

▸ Optional onOpen(): void

Returns#

void


open#

▸ Optional open(): void

Returns#

void

Inherited from#

Partial.open


removeAction#

▸ Optional removeAction(): void | Promise<void>

deprecated Provide your own remove <MenuItem> as part of the children passed to this component

Returns#

void | Promise<void>


updateAction#

▸ Optional updateAction(): void | Promise<void>

deprecated Provide your own update <MenuItem> as part of the children passed to this component

Returns#

void | Promise<void>