@namespace Connected.Components

@using Connected.Extensions;

@inherits ButtonBase

<Element type="@ButtonType.ToDescription()"
         disabled="@Disabled"
         HtmlTag="@HtmlTag"
         ClassList="@CompiledClassList.ToString()"
         PreventOnClickPropagation="PreventOnClickPropagation"
         @attributes="CustomAttributes"
         @onclick="OnClick">
   <span name="button-content" class="button-content">
      @ChildContent
   </span>
</Element>
