import * as React from 'react'; import { InputLabel } from 'components/common/Input/InputLabel.styled'; import { FormError, InputHint } from 'components/common/Input/Input.styled'; import { ErrorMessage } from '@hookform/error-message'; export interface CheckboxProps { name: string; label: React.ReactNode; hint?: string; onChange?: (event: React.SyntheticEvent) => void; } const Checkbox = React.forwardRef( ({ name, label, hint, onChange }, ref) => { return (
{label} {hint}
); } ); export default Checkbox;