<button
  class="
  {{@class}}
   {{if this.isActing @buttonActingClass}}
   {{if @icon " icon"}}
   {{if @disabled " disabled"}}
  "
  type={{if (eq this.buttonType "submit") "submit" "button"}}
  disabled={{@disabled}}
  ...attributes
  data-test-form-button="{{this.buttonType}}"
  {{on "click" (stop-propagation this.handleClick)}}
>
  {{#if @icon}}
    <i class="icon {{@icon}}" data-test-form-button-icon></i>
  {{/if}}

  {{#if (hasBlock)}}
    {{yield}}
  {{else}}
    {{@text}}
  {{/if}}
</button>
<button
  class="
  {{@class}}
   {{if this.isActing @buttonActingClass}}
   {{if @isActing @buttonActingClass}}
   {{if @icon " icon"}}
   {{if @disabled " disabled"}}
  "
  type={{if (eq this.buttonType "submit") "submit" "button"}}
  disabled={{@disabled}}
  ...attributes
  data-test-form-button="{{this.buttonType}}"
  {{on "click" (stop-propagation this.handleClick)}}
>
  {{#if @icon}}
    <i class="icon {{@icon}}" data-test-form-button-icon></i>
  {{/if}}

  {{#if (hasBlock)}}
    {{yield}}
  {{else}}
    {{@text}}
  {{/if}}
</button>
Allow acting to be driven from above
Allow acting to be driven from above
