IMenuButtonItemButton
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
export interface IMenuButtonItemButton extends IMenuItemCommonProps
Extends: IMenuItemCommonProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
boolean | (ALPHA) (Optional) | ||
string | ReactNode | (ALPHA) (Optional) | ||
string | (ALPHA) | ||
() => void | (ALPHA) (Optional) | ||
boolean | (ALPHA) (Optional) | ||
string | ReactNode | (ALPHA) (Optional) If specified, the value is shown on hover of the item as a tooltip. | ||
“button” | (ALPHA) | ||
ReactNode | (ALPHA) (Optional) If specified, a warning indicator is rendered on the trailing side of the item, shown regardless of the item’s disabled state. The value is the content shown on hover of the warning indicator. Used e.g. to flag that an export will contain partial results because an execution reached a result limit. |
Property details
IMenuButtonItemButton.disabledpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
disabled?: boolean;
IMenuButtonItemButton.iconpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
icon?: string | ReactNode;
IMenuButtonItemButton.itemNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
itemName: string;
IMenuButtonItemButton.onClickpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
onClick?: () => void;
IMenuButtonItemButton.opensDialogpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
opensDialog?: boolean;
IMenuButtonItemButton.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;
IMenuButtonItemButton.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
type: "button";
IMenuButtonItemButton.warningpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
If specified, a warning indicator is rendered on the trailing side of the item, shown regardless of the item’s disabled state. The value is the content shown on hover of the warning indicator. Used e.g. to flag that an export will contain partial results because an execution reached a result limit.
warning?: ReactNode;