@inherits MSGComponentBase
<MudStack Row="@true" AlignItems="AlignItems.Start">
    <MudTextField
        T="string"
        ReadOnly="@true"
        Label="@this.Label"
        Text="@this.Value"
        Variant="Variant.Outlined"
        Margin="Margin.Dense"
        Lines="3"
        MaxLines="@this.MaxLines"
        AutoGrow="@true"
        Style="@this.GetColor()"
        UserAttributes="@USER_INPUT_ATTRIBUTES" />

    @if (this.ShowingCopyButton)
    {
        <MudTooltip Text="@this.ClipboardTooltip">
            <MudIconButton Icon="@Icons.Material.Filled.ContentCopy" Size="Size.Medium" OnClick="@(() => this.CopyToClipboard(this.Value))"/>
        </MudTooltip>
    }
</MudStack>