{"id":26252898,"url":"https://github.com/leovo2708/react-numeric-textbox","last_synced_at":"2025-07-07T22:09:32.716Z","repository":{"id":32947630,"uuid":"147316009","full_name":"leovo2708/react-numeric-textbox","owner":"leovo2708","description":"ReactJS numeric textbox component","archived":false,"fork":false,"pushed_at":"2023-01-04T11:51:20.000Z","size":1012,"stargazers_count":2,"open_issues_count":27,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T09:14:42.826Z","etag":null,"topics":["component","numeric","reactjs","reactjs-components","textbox"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leovo2708.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-04T08:48:18.000Z","updated_at":"2023-04-14T06:35:44.000Z","dependencies_parsed_at":"2023-01-14T22:47:22.338Z","dependency_job_id":null,"html_url":"https://github.com/leovo2708/react-numeric-textbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/leovo2708/react-numeric-textbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovo2708%2Freact-numeric-textbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovo2708%2Freact-numeric-textbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovo2708%2Freact-numeric-textbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovo2708%2Freact-numeric-textbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leovo2708","download_url":"https://codeload.github.com/leovo2708/react-numeric-textbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leovo2708%2Freact-numeric-textbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263691439,"owners_count":23496849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","numeric","reactjs","reactjs-components","textbox"],"created_at":"2025-03-13T17:28:41.488Z","updated_at":"2025-07-07T22:09:32.665Z","avatar_url":"https://github.com/leovo2708.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-numeric-textbox\n\nAn ReactJS numeric textbox component\n\n## Dependencies\n\n* [ReactJS](https://reactjs.org/)\n* [Lodash](https://lodash.com)\n* [Numeral](http://numeraljs.com)\n\n## Demo\n\n[https://leovo2708.github.io/react-numeric-textbox/](https://leovo2708.github.io/react-numeric-textbox/)\n\n## Installation\n\nAfter install the above dependencies, install `react-numeric-textbox` via:\n```shell\nnpm install react-numeric-textbox --save\n```\n\n## Usage\n\n```js\n\u003cNumericTextboxComponent\n  className={className}\n  min={min}\n  max={max}\n  disabled={disabled}\n  autoCorrect={autoCorrect}\n  decimals={decimals}\n  format={format}\n  value={value}\n  placeholder={placeholder}\n  onChange={(event) =\u003e this.onChange(event)}\n  onFocus={() =\u003e this.onFocus(event)}\n  onBlur={() =\u003e this.onBlur(event)}\n  onEnter={() =\u003e this.onEnter(event)}\n  onEscape={() =\u003e this.onEscape(event)}\n/\u003e\n```\n\n## API\n```js\nconst propTypes = {\n  className: PropTypes.string,\n  min: PropTypes.number,\n  max: PropTypes.number,\n  value: PropTypes.number,\n  placeholder: PropTypes.string,\n  decimals: PropTypes.number,\n  disabled: PropTypes.bool,\n  format: PropTypes.string,\n  autoCorrect: PropTypes.bool,\n  onChange: PropTypes.func,\n  onFocus: PropTypes.func,\n  onBlur: PropTypes.func,\n  onEnter: PropTypes.func,\n  onEscape: PropTypes.func\n};\n```\n\n* format string: [http://numeraljs.com/#format](http://numeraljs.com/#format)\n\n## Contributing\n\nI am very appreciate for your ideas, proposals and found bugs which you can leave in github issues. Thanks in advance!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleovo2708%2Freact-numeric-textbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleovo2708%2Freact-numeric-textbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleovo2708%2Freact-numeric-textbox/lists"}