This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/select-kit/addon/templates/components/dropdown-select-box/dropdown-select-box-header.hbs
2021-09-09 11:01:56 -04:00

17 lines
485 B
Handlebars

<div class="select-kit-header-wrapper">
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
{{component selectKit.options.selectedNameComponent
tabindex=tabindex
item=selectedContent
selectKit=selectKit
shouldDisplayClearableButton=shouldDisplayClearableButton
}}
{{#if selectKit.options.showCaret}}
{{d-icon caretIcon class="caret-icon"}}
{{/if}}
&#8203;
{{! Zero-width space character, so icon-only button height = regular button height }}
</div>