reação de máscara de entrada ref
// use inputRef
const ref = useRef<HTMLInputElement>(null);
<InputMask
mask="xx"
inputRef={ref}
/>
Lucas Juan
// use inputRef
const ref = useRef<HTMLInputElement>(null);
<InputMask
mask="xx"
inputRef={ref}
/>