Use svelte class attribute
This commit is contained in:
parent
1bdf62ab41
commit
cc52362fe3
|
@ -20,11 +20,10 @@
|
|||
</script>
|
||||
|
||||
<label
|
||||
class="spectrum-Checkbox spectrum-Checkbox--emphasized {sizeClass} {indeterminate
|
||||
? 'is-indeterminate'
|
||||
: ''}"
|
||||
class="spectrum-Checkbox spectrum-Checkbox--emphasized {sizeClass}"
|
||||
class:is-invalid={!!error}
|
||||
class:checked={value}
|
||||
class:is-indeterminate={indeterminate}
|
||||
>
|
||||
<input
|
||||
checked={value}
|
||||
|
|
Loading…
Reference in New Issue