Skip to content

Interface: MenuProps#

Renderer.Component.MenuProps

Table of contents#

Properties#

Methods#

Properties#

animated#

Optional animated: boolean


autoFocus#

Optional autoFocus: boolean


children#

Optional children: ReactNode


className#

Optional className: string


closeOnClickItem#

Optional closeOnClickItem: boolean


closeOnClickOutside#

Optional closeOnClickOutside: boolean


closeOnScroll#

Optional closeOnScroll: boolean


htmlFor#

Optional htmlFor: string


id#

Optional id: string


isOpen#

Optional isOpen: boolean


position#

Optional position: MenuPosition


toggleEvent#

Optional toggleEvent: "contextmenu" | "click"


usePortal#

Optional usePortal: boolean | HTMLElement

Methods#

close#

close(): void

Returns#

void


open#

open(): void

Returns#

void