meilisearch-admin/app/components/form/checkbox.hbs
2022-09-10 18:08:12 +03:00

8 lines
271 B
Handlebars

<label class="flex items-center cursor-pointer" {{on "click" this.onChange}} ...attributes>
{{#if @checked}}
<Icons::CheckboxOutline @size={{22}} class="mr-1"/>
{{else}}
<Icons::CheckboxBlankOutline @size={{22}} class="mr-1"/>
{{/if}}
{{@label}}
</label>