IRichTextMenuSubmenu
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
export interface IRichTextMenuSubmenu
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (ALPHA) (Optional) Additional class names to be applied to the item. | ||
boolean | (ALPHA) (Optional) | ||
ReactElement | string | (ALPHA) (Optional) | ||
string | (ALPHA) | ||
string | (ALPHA) | ||
(e: MouseEvent) => void | (ALPHA) (Optional) | ||
boolean | (ALPHA) (Optional) Should the submenu component be rendered only? If so, it won’t be wrapped inside the default container and the default header won’t be rendered. | ||
ComponentType<IRichTextMenuSubmenuComponentProps> | (ALPHA) | ||
string | ReactNode | (ALPHA) (Optional) If specified, the value is shown on hover of the item as a tooltip. | ||
“submenu” | (ALPHA) |
Property details
IRichTextMenuSubmenu.classNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Additional class names to be applied to the item.
className?: string;
IRichTextMenuSubmenu.disabledpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
disabled?: boolean;
IRichTextMenuSubmenu.iconpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
icon?: ReactElement | string;
IRichTextMenuSubmenu.itemIdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
itemId: string;
IRichTextMenuSubmenu.itemNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
itemName: string;
IRichTextMenuSubmenu.onClickpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
onClick?: (e: MouseEvent) => void;
IRichTextMenuSubmenu.renderSubmenuComponentOnlypropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Should the submenu component be rendered only? If so, it won’t be wrapped inside the default container and the default header won’t be rendered.
renderSubmenuComponentOnly?: boolean;
IRichTextMenuSubmenu.SubmenuComponentpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
SubmenuComponent: ComponentType<IRichTextMenuSubmenuComponentProps>;
IRichTextMenuSubmenu.tooltippropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
If specified, the value is shown on hover of the item as a tooltip.
tooltip?: string | ReactNode;
IRichTextMenuSubmenu.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
type: "submenu";