Added components for configuration options

This commit is contained in:
tsommer committed 2024-05-04 11:08:18 +02:00
1 parent 0541e1b18e
commit 5bc0f7f7df
7 files changed
+146

No files matched your search

@@ -0,0 +1,7 @@
@inherits ConfigurationBase
<MudField Label="@this.OptionDescription" Variant="Variant.Outlined" HelperText="@this.OptionHelp" Class="@MARGIN_CLASS">
<MudSwitch T="bool" Value="@this.State()" ValueChanged="@(updatedState => this.OptionChanged(updatedState))">
@(this.State() ? this.LabelOn : this.LabelOff)
</MudSwitch>
</MudField>