IRichTextMenuSubmenu
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
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. See API maturity.
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. See API maturity.
disabled?: boolean;
IRichTextMenuSubmenu.iconpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
icon?: ReactElement | string;
IRichTextMenuSubmenu.itemIdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
itemId: string;
IRichTextMenuSubmenu.itemNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
itemName: string;
IRichTextMenuSubmenu.onClickpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
onClick?: (e: MouseEvent) => void;
IRichTextMenuSubmenu.renderSubmenuComponentOnlypropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
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. See API maturity.
SubmenuComponent: ComponentType<IRichTextMenuSubmenuComponentProps>;
IRichTextMenuSubmenu.tooltippropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
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. See API maturity.
type: "submenu";