2020-05-29 00:33:49 +08:00
|
|
|
|
@namespace AntDesign
|
2021-04-25 01:04:21 +08:00
|
|
|
|
@inherits AntInputBoolComponentBase
|
2019-12-18 15:11:41 +08:00
|
|
|
|
|
2021-04-25 01:04:21 +08:00
|
|
|
|
<label class="@ClassMapperLabel.Class" style="@Style" id="@Id" @ref="Ref">
|
|
|
|
|
<span class="@ClassMapper.Class">
|
2020-10-25 23:01:54 +08:00
|
|
|
|
<input value="@Label"
|
|
|
|
|
checked="@Checked"
|
|
|
|
|
disabled="@Disabled"
|
2021-04-25 01:04:21 +08:00
|
|
|
|
autofocus=@AutoFocus
|
|
|
|
|
@onchange="@InputCheckedChange"
|
2020-10-25 23:01:54 +08:00
|
|
|
|
type="checkbox"
|
|
|
|
|
class="ant-checkbox-input" />
|
2020-02-15 18:22:51 +08:00
|
|
|
|
<span class="ant-checkbox-inner"></span>
|
|
|
|
|
</span>
|
2020-05-28 16:56:52 +08:00
|
|
|
|
@if (ChildContent != null)
|
2020-05-26 15:21:47 +08:00
|
|
|
|
{
|
2020-10-25 23:01:54 +08:00
|
|
|
|
<span>
|
2020-05-26 15:21:47 +08:00
|
|
|
|
@ChildContent
|
|
|
|
|
</span>
|
|
|
|
|
}
|
2020-10-25 23:01:54 +08:00
|
|
|
|
</label>
|
|
|
|
|
|