Files
AI-Studio/app/MindWork AI Studio/Components/ConfigurationOption.razor
T

5 lines
247 B
Plaintext

@inherits ConfigurationBaseCore
<MudSwitch @key="@this.switchKey" T="bool" Disabled="@this.IsDisabled" Value="@this.State()" ValueChanged="@this.OptionChanged" Color="Color.Primary">
@(this.State() ? this.LabelOn : this.LabelOff)
</MudSwitch>