@namespace Connected.Components
@inherits UIComponent

@if (LinkToIndex)
{
    <a @attributes="CustomAttributes" class="@CompiledClassList.Build()" href="/">
        @ChildContent
    </a>
}
else
{
    <div @attributes="CustomAttributes" class="@CompiledClassList.Build()">
        @ChildContent
    </div>
}
