import { Checkbox, CheckboxProps, FormControl, FormControlProps, FormLabel, } from '@chakra-ui/react'; import { memo, ReactNode } from 'react'; type IAIFullCheckboxProps = CheckboxProps & { label: string | ReactNode; formControlProps?: FormControlProps; }; const IAIFullCheckbox = (props: IAIFullCheckboxProps) => { const { label, formControlProps, ...rest } = props; return ( {label} ); }; export default memo(IAIFullCheckbox);