mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 23:32:12 +00:00
8 lines
509 B
Plaintext
8 lines
509 B
Plaintext
@inherits ConfigurationBaseCore
|
|
|
|
@* The tooltip is suppressed while the button is locked, so that the lock icon's tooltip is the only one shown: *@
|
|
<MudTooltip Text="@this.Tooltip" Disabled="@(this.IsLocked() || string.IsNullOrWhiteSpace(this.Tooltip))" RootStyle="display:inline-flex;">
|
|
<MudButton Variant="@this.ButtonVariant" Color="@this.ButtonColor" StartIcon="@this.Icon" Disabled="@this.IsDisabled" OnClick="@(async () => await this.ClickAsync())">
|
|
@this.Text
|
|
</MudButton>
|
|
</MudTooltip> |