@namespace Connected.Components
@inherits UIComponent

<span @attributes="CustomAttributes" class="@CompiledClassList">
	@ChildContent
	@if (Visible)
	{
		<span class="@WrapperClass">
			<span class="@BadgeClassName" @onclick="HandleBadgeClick">
				@if (!Dot)
				{
					@if (!String.IsNullOrEmpty(Icon))
					{
						<Icon Icon="@Icon" Class="icon-badge" />
					}
					else
					{
						@_content
					}
				}
			</span>
		</span>
	}
</span>
