meilisearch-admin/app/components/form/checkbox.hbs
2022-09-02 12:40:42 +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}}/>
{{else}}
<Icons::CheckboxBlankOutline @size={{22}}/>
{{/if}}
<span class="ml-1">{{@label}}</span>
</label>