-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
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
feat: add currency input component #2468
feat: add currency input component #2468
Conversation
…to feat-add-currency-input-component
FeaturesContributorsCommit-Lint commandsYou can trigger Commit-Lint actions by commenting on this PR:
|
Code Climate has analyzed commit 6fb65be and detected 11 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
Visit the preview URL for this PR (updated for commit 6fb65be): https://react-rainbow--pr2468-feat-add-currency-in-coeu1fdp.web.app (expires Fri, 14 Oct 2022 20:17:08 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
const formattedInteger = formatInteger(stringInteger, locale, options); | ||
|
||
return stringValue.indexOf('.') !== -1 | ||
? `${formattedInteger}${decimalSeparator}${stringDecimal || ''}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this manual construction maybe does not work with other locales
} = useReduxForm(props); | ||
|
||
const inputRef = useRef(); | ||
const inputId = useUniqueIdentifier('counter-input'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
counter-input?
fix: #2467
Changes proposed in this PR:
feat: add currency input component
I have followed (at least) the PR section of the contributing guide.
@nexxtway/react-rainbow