We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
value
Given BigInt is widespread at this point, may be worth updating the type of value to accept bigints,
BigInt
const example1 = ( <> <NumericFormat value={100} /* OK */ /> <NumericFormat value={100n} /* Type Error */ /> </> );
in the meantime, can easily get around this with,
const example2 = ( <NumericFormat value={(100n).toString()} /> );
The text was updated successfully, but these errors were encountered:
Happy to receive a PR for the same.
Sorry, something went wrong.
No branches or pull requests
Given
BigInt
is widespread at this point, may be worth updating the type ofvalue
to accept bigints,in the meantime, can easily get around this with,
The text was updated successfully, but these errors were encountered: