diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 7388a37..7f02916 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/src/components/masked-input/MaskedInput.tsx b/src/components/masked-input/MaskedInput.tsx index 298a21a..0bdb74a 100644 --- a/src/components/masked-input/MaskedInput.tsx +++ b/src/components/masked-input/MaskedInput.tsx @@ -6,10 +6,9 @@ import { InputWidth } from 'nhsuk-react-components/dist/esm/util/types/NHSUKType import FormGroup from './LocalFormGroup'; -// import InputMask, { ReactInputMask } from 'react-input-mask'; -import { ReactInputMask } from 'react-input-mask'; +import InputMask, { ReactInputMask } from 'react-input-mask'; -// import classNames from 'classnames'; +import classNames from 'classnames'; type InputMaskRef = | string @@ -31,16 +30,15 @@ FormElementProps & { const MaskedInput: React.FC = props => ( inputType="input" {...props}> {({ className, width, error, ref, ...rest }:any) => ( -
{...rest}
- // + )} );