Skip to content

@k8slens/extensions / Exports / Renderer / Component / KubeObjectMenuProps

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: StrictReactNode

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


data-testid#

Optional data-testid: string

Inherited from#

MenuActionsProps.data-testid


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: StrictReactNode | () => StrictReactNode

Deprecated

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

Inherited from#

MenuActionsProps.removeConfirmationMessage


toggleEvent#

Optional toggleEvent: "click" | "contextmenu"

Inherited from#

MenuActionsProps.toggleEvent


toolbar#

Optional toolbar: boolean

Inherited from#

MenuActionsProps.toolbar


triggerIcon#

Optional triggerIcon: StrictReactNode | 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