Skip to content

Interface: KubeObjectMenuProps<TKubeObject>#

Renderer.Component.KubeObjectMenuProps

Type parameters#

Name Type
TKubeObject extends KubeObject

Hierarchy#

KubeObjectMenuProps

Table of contents#

Properties#

Methods#

Properties#

animated#

Optional animated: boolean

Inherited from#

MenuActionsProps.animated


autoCloseOnSelect#

Optional autoCloseOnSelect: boolean

Inherited from#

MenuActionsProps.autoCloseOnSelect


autoFocus#

Optional autoFocus: boolean

Inherited from#

MenuActionsProps.autoFocus


children#

Optional children: ReactNode

Inherited from#

MenuActionsProps.children


className#

Optional className: string

Inherited from#

MenuActionsProps.className


closeOnClickItem#

Optional closeOnClickItem: boolean

Inherited from#

MenuActionsProps.closeOnClickItem


closeOnClickOutside#

Optional closeOnClickOutside: boolean

Inherited from#

MenuActionsProps.closeOnClickOutside


closeOnScroll#

Optional closeOnScroll: boolean

Inherited from#

MenuActionsProps.closeOnScroll


editable#

Optional editable: boolean


htmlFor#

Optional htmlFor: string

Inherited from#

MenuActionsProps.htmlFor


id#

Optional id: string

Inherited from#

MenuActionsProps.id


isOpen#

Optional isOpen: boolean

Inherited from#

MenuActionsProps.isOpen


object#

object: TKubeObject


onOpen#

Optional onOpen: () => void

Type declaration#

▸ (): void

Returns#

void

Inherited from#

MenuActionsProps.onOpen


position#

Optional position: MenuPosition

Inherited from#

MenuActionsProps.position


removable#

Optional removable: boolean


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>

Inherited from#

MenuActionsProps.removeAction


removeConfirmationMessage#

Optional removeConfirmationMessage: ReactNode | () => ReactNode

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

Inherited from#

MenuActionsProps.removeConfirmationMessage


toggleEvent#

Optional toggleEvent: "contextmenu" | "click"

Inherited from#

MenuActionsProps.toggleEvent


toolbar#

Optional toolbar: boolean

Inherited from#

MenuActionsProps.toolbar


triggerIcon#

Optional triggerIcon: ReactNode | IconProps & TooltipDecoratorProps

Inherited from#

MenuActionsProps.triggerIcon


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>

Inherited from#

MenuActionsProps.updateAction


usePortal#

Optional usePortal: boolean | HTMLElement

Inherited from#

MenuActionsProps.usePortal

Methods#

close#

Optional close(): void

Returns#

void

Inherited from#

MenuActionsProps.close


open#

Optional open(): void

Returns#

void

Inherited from#

MenuActionsProps.open