
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@growth-ui/currency-input
Advanced tools
npm install @growth-ui/currency-input
or
yarn add @growth-ui/currency-input
import CurrencyInput from ' @growth-ui/currency-input';
<CurrencyInput
defaultValue={0}
fixed={2}
onChange={(value, props) => console.log(value, props)}
/>;
| Name | Type | Default | Description |
|---|---|---|---|
| basic | boolean | false | An input can be just pure html input look and feel. |
| compact | boolean | false | An input can reduce its padding to fit into tighter spaces. |
| decimalsLimit | number | 2 | Limit length of decimals allowed. |
| defaultValue | number | Default value. | |
| error | boolean | An Input field can show the data contains errors. | |
| fixed | number | Value will always have the specified length of decimals. | |
| focus | boolean | An input field can show a user is currently interacting with it. | |
| onBlur | func | Called on blur. | |
| onChange | func | Called on change. | |
| onFocus | func | Called on focus. | |
| placeholder | string | Placeholder if no value | |
| prefix | string | An input can be descriptive. e.g) $ | |
| separators | boolean | An input can format number with commas as thousands separators. | |
| size | number | An input can have different sizes. | |
| value | number | An input value. |
You can add a prefix or suffix by passing in prefix or suffix.
import CurrencyInput from ' @growth-ui/currency-input';
<CurrencyInput prefix="£" value={123} />;
// £123
Created by @kyuhakyuk.
FAQs
<!-- Logo -->
The npm package @growth-ui/currency-input receives a total of 11 weekly downloads. As such, @growth-ui/currency-input popularity was classified as not popular.
We found that @growth-ui/currency-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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.