vlad-ignatov/react-numeric-input

'Format' function does not accept a number

Opened this issue · 0 comments

The readme seems to indicate that the 'format' prop accepts a number, but in reality, it gets passed a string:

I can submit a PR but which would you prefer to see: changes to docs to clarify that it accepts a string, or changes to code to pass it the number without converting to string?