Type Alias ContextMenuItemContent
ContextMenuItemContent: | { caption?: string; chipColor?: string; chipLabel?: string; classNames?: string; label: string; sticky?: boolean; type: MAIN_TITLE; } | { classNames?: string; icon?: string | React.ReactNode; label: string; type: ANNOTATION_TITLE; } | { classNames?: string; label: string; type: SECTION_TITLE; } | { classNames?: string; icon?: string | React.ReactNode; label?: string; type: ITEM; } | { classNames?: string; type: SEPARATOR; } | { classNames?: string; paddingY?: number; type: LOADER; } | { classNames?: string; getAsyncItemClickHandler?: ((item: { label: string; }) => void); id: string | number; isAsync?: boolean; isGlobalSearch?: boolean; onItemClick?: ((item: { id?: string; label: string; }) => void); placeholder?: string; type: SEARCH_BAR; } | { classNames?: string; label: string; placeholder?: string; type: EDITABLE_FIELD; value: string; } | { classNames?: string; label: string; onSubmit?: ((id: string,
data: { value: string; }) => void); placeholder?: string; type: EDITABLE_TEXTAREA; value: string; } | { classNames?: string; label: string; onChange?: ((id: string,
data: { value: string | null; }) => void); options: { disabled?: boolean; label: string; value: string | null; }[]; placeholder?: string; type: SELECT; value: string | null; } | { color: string; hasError?: boolean; label?: string; type: KPI_ITEM; value?: string; } | { render: ((item: ContextMenuItem) => React.ReactNode); type: CUSTOM; }