Const InputWithMask
InputWithMask: ForwardRefExoticComponent<object & InputProps & RefAttributes<Input>> = forwardRef((props: InputWithMaskProps, ref: Ref<Input>) => {const {size, prefix, value, ...rest} = props;// ReactInputMask will not pass `value` to the Input if it's value is nullconst passedValue = value ? value : '';return (<ReactInputMask value={passedValue} {...rest}>{(inputProps: InputProps) => {return <Input ref={ref} {...inputProps} prefix={prefix} size={size}/>;}}</ReactInputMask>);})