Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
uNmAnNeR authored Apr 9, 2024
1 parent 181f6b8 commit 1531e01
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/react-imask/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,14 @@ function IMaskWithHook () {
setUnmaskedValue,
typedValue,
setTypedValue,
} = useIMask(opts, /* { onAccept, onComplete } */);
} = useIMask(opts, /* optional {
onAccept,
onComplete,
ref,
defaultValue,
defaultUnmaskedValue,
defaultTypedValue,
} */);

return (
<input ref={ref} />
Expand Down

0 comments on commit 1531e01

Please sign in to comment.