mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-11 19:49:06 +00:00
18 lines
581 B
Plaintext
18 lines
581 B
Plaintext
<MudStack Row="@true" AlignItems="AlignItems.Center">
|
|
<MudTextField
|
|
T="string"
|
|
ReadOnly="@true"
|
|
Label="@this.Label"
|
|
Text="@this.Value"
|
|
Variant="Variant.Outlined"
|
|
Margin="Margin.Dense"
|
|
Adornment="Adornment.Start"
|
|
AdornmentIcon="@this.Icon"/>
|
|
|
|
@if (this.ShowingCopyButton)
|
|
{
|
|
<MudTooltip Text="@this.ClipboardTooltip">
|
|
<MudIconButton Icon="@Icons.Material.Filled.ContentCopy" Size="Size.Medium" OnClick="@(() => this.CopyToClipboard(this.Value))"/>
|
|
</MudTooltip>
|
|
}
|
|
</MudStack> |