Interface: KubeObjectMenuProps<TKubeObject>#
Renderer.Component.KubeObjectMenuProps
Type parameters#
Name | Type |
---|---|
TKubeObject |
extends KubeObject |
Hierarchy#
↳ KubeObjectMenuProps
Table of contents#
Properties#
- animated
- autoCloseOnSelect
- autoFocus
- children
- className
- closeOnClickItem
- closeOnClickOutside
- closeOnScroll
- editable
- htmlFor
- id
- isOpen
- object
- onOpen
- position
- removable
- removeAction
- removeConfirmationMessage
- toggleEvent
- toolbar
- triggerIcon
- updateAction
- usePortal
Methods#
Properties#
animated#
• Optional
animated: boolean
Inherited from#
autoCloseOnSelect#
• Optional
autoCloseOnSelect: boolean
Inherited from#
MenuActionsProps.autoCloseOnSelect
autoFocus#
• Optional
autoFocus: boolean
Inherited from#
children#
• Optional
children: ReactNode
Inherited from#
className#
• Optional
className: string
Inherited from#
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#
id#
• Optional
id: string
Inherited from#
isOpen#
• Optional
isOpen: boolean
Inherited from#
object#
• object: TKubeObject
onOpen#
• Optional
onOpen: () => void
Type declaration#
▸ (): void
Returns#
void
Inherited from#
position#
• Optional
position: MenuPosition
Inherited from#
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#
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#
toolbar#
• Optional
toolbar: boolean
Inherited from#
triggerIcon#
• Optional
triggerIcon: ReactNode
| IconProps
& TooltipDecoratorProps
Inherited from#
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#
usePortal#
• Optional
usePortal: boolean
| HTMLElement
Inherited from#
Methods#
close#
▸ Optional
close(): void
Returns#
void
Inherited from#
open#
▸ Optional
open(): void
Returns#
void