{{! @glint-nocheck }}
<BsButton
  {{! cannot pass @block directly because that triggers reserved keyword assertion when compiling the template }}
  {{! template-lint-disable no-capital-arguments no-args-paths }}
  @block={{this.args.block}}
  @onClick={{@onClick}}
  @active={{@active}}
  @size={{@size}}
  @type={{@type}}
  @outline={{@outline}}
  aria-expanded={{if @isOpen "true" "false"}}
  class="dropdown-toggle"
  ...attributes
  {{on "keydown" @onKeyDown}}
  {{did-insert @registerChildElement "toggle"}}
  {{will-destroy @unregisterChildElement "toggle"}}
>
  {{yield}}
</BsButton>
