import type { ComponentProps } from "react"; import { cn } from "@/lib/utils"; export function ToggleButton({ checked, disabled, onChange, ariaLabel, label, ...accessibility }: { checked: boolean; disabled?: boolean; onChange: (checked: boolean) => void; ariaLabel?: string; label: string; } & Pick, "id" | "aria-describedby" | "aria-invalid">) { return ( ); }