import React from 'react'; import { Checkbox as CheckboxPrimitive, CheckboxProps as CheckboxPropsPrimitive } from '@modulz/primitives'; export type CheckboxProps = CheckboxPropsPrimitive type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : unknown; type PrimitiveRefType = ExtractRefType export const Checkbox = React.forwardRef((props, ref) => { return ( ); });