IRichTextMenuItemButton
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
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. See API maturity.
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. See API maturity.
disabled?: boolean;
IRichTextMenuItemButton.iconpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
icon?: ReactElement | string;
IRichTextMenuItemButton.itemIdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
itemId: string;
IRichTextMenuItemButton.itemNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
itemName: string;
IRichTextMenuItemButton.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;
IRichTextMenuItemButton.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;
IRichTextMenuItemButton.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
type: "button";