2020-05-29 00:33:49 +08:00
|
|
|
@namespace AntDesign
|
2020-06-29 23:19:25 +08:00
|
|
|
@typeparam TValue
|
2020-04-23 17:13:56 +08:00
|
|
|
@inherits AntDomComponentBase
|
2020-03-25 00:32:26 +08:00
|
|
|
|
2020-10-25 19:21:36 +08:00
|
|
|
<label @onclick="OnClick" @onclick:preventDefault="true" class="@ClassMapper.Class" style="@Style" id="@Id" @ref="Ref">
|
2020-03-25 00:32:26 +08:00
|
|
|
<span class="@RadioClassMapper.Class">
|
|
|
|
<input type="radio"
|
|
|
|
autofocus="@AutoFocus"
|
|
|
|
class="@InputClassMapper.Class"
|
2020-04-23 17:13:56 +08:00
|
|
|
disabled="@Disabled"
|
|
|
|
checked="@IsChecked"
|
|
|
|
name="@_name"
|
2020-03-25 00:32:26 +08:00
|
|
|
@bind="@Value"
|
2020-04-23 17:13:56 +08:00
|
|
|
@ref="InputRef" />
|
2020-03-25 00:32:26 +08:00
|
|
|
<span class="@InnerClassMapper.Class"></span>
|
|
|
|
</span>
|
2020-06-05 16:06:23 +08:00
|
|
|
@if (ChildContent != null)
|
|
|
|
{
|
|
|
|
<span>@ChildContent</span>
|
|
|
|
}
|
2020-06-29 23:19:25 +08:00
|
|
|
</label>
|