Bereaksi Input Mask Ref

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

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