import { forwardRef, type ForwardRefRenderFunction } from 'react'; import { BooleanField, type BooleanFieldProps } from '../boolean-field'; export type CheckboxProps = Omit; const CheckboxWithRef: ForwardRefRenderFunction< HTMLInputElement, CheckboxProps > = (props, ref) => ( // eslint-disable-next-line react/jsx-no-literals -- Type allowed ); /** * Checkbox component * * Render a checkbox input type. */ export const Checkbox = forwardRef(CheckboxWithRef);