
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-amount-input
Advanced tools
React Native JS-only amount (decimal) input component. Optimized for iOS.
$ npm install react-native-amount-input --save
Import AmountInput and use it more or less like the regular TextInput component from React Native core.
import {AmountInput} from 'react-native-amount-input';
function MyComponent() {
return (
<View>
<AmountInput
currency="USD"
defaultQuantity={defaultQuantity}
onChangeQuantity={handleChangeQuantity}
/>
</View>
);
}
In addition to the regular TextInput props, you can also provide the following props for extra customization:
currencySets the currency for a fixed symbol prefix in the text input box. Has to be a ISO 4217 currency code.
| Type | Required |
|---|---|
string | No |
defaultQuantityProvides an initial value that will change when the user starts typing.
| Type | Required |
|---|---|
number | No |
onChangeQuantityCallback that is called when the entered quantity changes. Changed quantity is passed as a single string argument to the callback handler.
| Type | Required |
|---|---|
number => void | No |
TextInputComponentSets the base text input component.
| Type | Required |
|---|---|
typeof TextInput | No |
MIT License © Alka, Inc
FAQs
React Native JS-only amount (decimal) input component
We found that react-native-amount-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.