IMenuButtonItemButton
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
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.
disabled?: boolean;
IMenuButtonItemButton.iconpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
icon?: string | ReactNode;
IMenuButtonItemButton.itemNamepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
itemName: string;
IMenuButtonItemButton.onClickpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
onClick?: () => void;
IMenuButtonItemButton.opensDialogpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
opensDialog?: boolean;
IMenuButtonItemButton.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;
IMenuButtonItemButton.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
type: "button";
IMenuButtonItemButton.warningpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
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;