Skip to content

@k8slens/extensions / Exports / Renderer / Component / MenuProps

Interface: MenuProps#

Renderer.Component.MenuProps

Table of contents#

Properties#

Methods#

Properties#

animated#

Optional animated: boolean


autoFocus#

Optional autoFocus: boolean


children#

Optional children: StrictReactNode


className#

Optional className: string


closeOnClickItem#

Optional closeOnClickItem: boolean


closeOnClickOutside#

Optional closeOnClickOutside: boolean


closeOnScroll#

Optional closeOnScroll: boolean


data-testid#

Optional data-testid: string


htmlFor#

Optional htmlFor: string


id#

Optional id: string


isOpen#

Optional isOpen: boolean


position#

Optional position: MenuPosition


toggleEvent#

Optional toggleEvent: "click" | "contextmenu"


usePortal#

Optional usePortal: boolean | HTMLElement

Methods#

close#

close(): void

Returns#

void


open#

open(): void

Returns#

void