React Input -Maske Ref React

// use inputRef
const ref = useRef<HTMLInputElement>(null);

<InputMask
  mask="xx"
  inputRef={ref}
/>
Lucas Juan