mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 15:21:37 +00:00
12 lines
359 B
Plaintext
12 lines
359 B
Plaintext
@inherits MSGComponentBase
|
|
<MudButton StartIcon="@Icons.Material.Filled.Description" OnClick="@(async () => await this.SelectFile())" Variant="Variant.Filled" Class="mb-3" Disabled="@this.Disabled">
|
|
@if (string.IsNullOrWhiteSpace(this.Text))
|
|
{
|
|
@T("Use file content as input")
|
|
}
|
|
else
|
|
{
|
|
@this.Text
|
|
}
|
|
</MudButton>
|