open-consul/ui-v2/app/templates/components/stats-card.hbs
John Cowen 6bf6002ab0
ui: Move slots to use attributes over positional params (#7032)
* Change all instances of yield/block-slots to use attributes over positional arguments

* Remove the ability to use yield/block-slots with positional params
2020-01-15 09:15:54 +00:00

10 lines
294 B
Handlebars

{{yield}}
<div class="stats-card">
<header>
{{#yield-slot name='mini-stat'}}{{yield}}{{/yield-slot}}
{{#yield-slot name='header'}}{{yield}}{{/yield-slot}}
{{#yield-slot name='icon'}}{{yield}}{{/yield-slot}}
</header>
{{#yield-slot name='body'}}{{yield}}{{/yield-slot}}
</div>