IRichTextMenuItemButton
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
export interface IRichTextMenuItemButton
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) | ||
string | ReactNode | (ALPHA) (Optional) If specified, the value is shown on hover of the item as a tooltip. | ||
“button” | (ALPHA) |
Property details
IRichTextMenuItemButton.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;
IRichTextMenuItemButton.disabledpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
disabled?: boolean;
IRichTextMenuItemButton.iconpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
icon?: ReactElement | string;
IRichTextMenuItemButton.itemIdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
itemId: string;
IRichTextMenuItemButton.itemNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
itemName: string;
IRichTextMenuItemButton.onClickpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
onClick?: (e: MouseEvent) => void;
IRichTextMenuItemButton.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;
IRichTextMenuItemButton.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
type: "button";