import { ReactElement } from 'react'; import { CheckboxRootProps, CheckboxRootState } from '@base-ui/react/checkbox'; import { DSCommonProps } from '../DSCommonProps.ts'; export interface DSCheckboxProps extends DSCommonProps<'span', CheckboxRootState> { disabled?: boolean; onCheckedChange?: CheckboxRootProps['onCheckedChange']; defaultChecked?: CheckboxRootProps['defaultChecked']; checked?: CheckboxRootProps['checked']; variant?: 'on-neutral' | 'on-brand'; } /** * DSCheckbox Component * * A custom checkbox component built using the base Checkbox component from '@base-ui/react/checkbox'. * This component supports a value, a change handler, and an optional required flag. */ export default function DSCheckbox(p: DSCheckboxProps): ReactElement;