{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

<Hds::Button
  data-test-button="Download"
  @icon={{if @hideIcon "" "download"}}
  @text={{or @text "Download"}}
  @color={{@color}}
  @iconPosition={{or @iconPosition "leading"}}
  @isIconOnly={{@isIconOnly}}
  {{on "click" this.handleDownload}}
  ...attributes
/>