open-consul/ui-v2/app/components/popover-select/option/index.hbs

12 lines
242 B
Handlebars
Raw Normal View History

{{#let components.MenuItem as |MenuItem|}}
<MenuItem
class={{if selected 'is-active'}}
@onclick={{action 'click'}}
@selected={{selected}}
>
<BlockSlot @name="label">
{{yield}}
</BlockSlot>
</MenuItem>
{{/let}}