import { type ChangeEvent, type ComponentProps } from 'react'; /** * Unstyled Carbon `Checkbox`: the native `` itself, so forms, Space, labels * and screen readers come from the browser (as Carbon). Hide the input over a box you draw beside * it (`peer` + `peer-checked:` / `peer-data-indeterminate:` …) and wrap both in a `