mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
2d801c6c53
* feat: add component radio * feat: add radio-group
20 lines
590 B
Plaintext
20 lines
590 B
Plaintext
@namespace AntBlazor
|
|
@inherits AntRadioBase
|
|
|
|
<label @onclick="OnClick" class="@ClassMapper.Class" style="@Style" @attributes="Attributes" Id="@Id" @ref="Ref">
|
|
<span class="@RadioClassMapper.Class">
|
|
<input type="radio"
|
|
autofocus="@AutoFocus"
|
|
class="@InputClassMapper.Class"
|
|
disabled="@disabled"
|
|
checked="@isChecked"
|
|
name="@name"
|
|
@bind="@Value"
|
|
@ref="inputRef" />
|
|
<span class="@InnerClassMapper.Class"></span>
|
|
</span>
|
|
<span>@ChildContent</span>
|
|
</label>
|
|
|
|
|