import { useId } from 'react' interface Props { /** Label text next to the checkbox */ label: string /** Controlled checked state */ checked: boolean /** Change handler */ onChange: (checked: boolean) => void /** Disabled state */ disabled?: boolean /** Extra CSS classes on the wrapper */ className?: string } export default function RetroCheckbox({ label, checked, onChange, disabled = false, className = '', }: Props) { const id = useId() return ( ) }