@namespace BootstrapBlazor.Components
@typeparam TValue
@inherits Checkbox<TValue>

<div @attributes="AdditionalAttributes" class="@ClassString">
    <input class="@InputClassString" type="radio" name="@GroupName" id="@Id" disabled="@Disabled" checked="@CheckedString" @onclick="@OnClickHandler">
    @if (ShowAfterLabel && !string.IsNullOrEmpty(DisplayText))
    {
        <label class="form-check-label" for="@Id">
            @if (ChildContent != null)
            {
                @ChildContent
            }
            else
            {
                @DisplayText
            }
        </label>
    }
</div>
