mirror of https://github.com/hashicorp/consul
12 lines
242 B
Handlebars
12 lines
242 B
Handlebars
|
{{#let components.MenuItem as |MenuItem|}}
|
||
|
<MenuItem
|
||
|
class={{if selected 'is-active'}}
|
||
|
@onclick={{action 'click'}}
|
||
|
@selected={{selected}}
|
||
|
>
|
||
|
<BlockSlot @name="label">
|
||
|
{{yield}}
|
||
|
</BlockSlot>
|
||
|
</MenuItem>
|
||
|
{{/let}}
|