mirror of https://github.com/sveltejs/svelte
parent
a472ccf828
commit
efcc5ac6b3
@ -1,5 +1,6 @@
|
||||
<script>
|
||||
let { checked, ...rest } = $props.bindable();
|
||||
let { checked: _, ...rest } = $props();
|
||||
let { checked } = $props.bindable();
|
||||
</script>
|
||||
|
||||
<input type="checkbox" bind:checked {...rest} />
|
||||
|
Loading…
Reference in new issue