Interface: KubeObjectContextMenuItem#
Common.Types.KubeObjectContextMenuItem
Table of contents#
Properties#
Methods#
Properties#
icon#
• icon: string | BaseIconProps
If the type is string then it is shorthand for BaseIconProps.material
This is required because this item can be either rendered as a context menu or as a toolbar in the kube object details page.
title#
• title: string
The title text for the menu item or the hover text for the icon.
Methods#
onClick#
▸ onClick(obj): void
The action when clicked
Parameters#
| Name | Type |
|---|---|
obj |
KubeObject<KubeObjectMetadata, any, any> |
Returns#
void