@k8slens/extensions / Exports / Renderer / Component / MenuProps
Interface: MenuProps#
Table of contents#
Properties#
- animated
- autoFocus
- children
- className
- closeOnClickItem
- closeOnClickOutside
- closeOnScroll
- data-testid
- htmlFor
- id
- isOpen
- position
- toggleEvent
- usePortal
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