2020-05-29 00:33:49 +08:00
|
|
|
|
@namespace AntDesign
|
2020-06-02 20:27:53 +08:00
|
|
|
|
@inherits AntInputComponentBase<bool>
|
2019-12-18 15:11:41 +08:00
|
|
|
|
|
2020-10-25 23:01:54 +08:00
|
|
|
|
<label class="@ClassMapper.Class" style="@Style" id="@Id" @ref="Ref">
|
|
|
|
|
<span class="@ClassMapperSpan.Class">
|
|
|
|
|
<input value="@Label"
|
|
|
|
|
checked="@Checked"
|
|
|
|
|
disabled="@Disabled"
|
|
|
|
|
@onchange="@InputCheckedChange"
|
|
|
|
|
@attributes="@InputAttributes"
|
|
|
|
|
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>
|
|
|
|
|
|