<script>
  // v0.2 Phase 4 alias wrapper around $lib/components/Toggle.svelte.
  // checked and loading are forwarded as $bindable so call sites
  // keep their existing bind:checked / bind:loading patterns.
  import Toggle from "$lib/components/Toggle.svelte";

  let {
    checked = $bindable(false),
    loading = $bindable(false),
    label = "",
    description = "",
    disabled = false,
    onChange = undefined,
  } = $props();
</script>

<Toggle
  bind:checked
  bind:loading
  {label}
  {description}
  {disabled}
  {onChange}
/>
