validate-float-input
v0.3.0
Published
A responsive and accessible component built with React
Downloads
6
Readme
validate-float-input
Validate float number input field.
Live Playground
For examples of the component in action, go to https://yyssc.github.io/validate-float-input.
OR
To run that demo on your own computer:
- Clone this repository
npm install
npm run storybook
- Visit http://localhost:9001/
Getting Started
Install dependencies
Ensure packages are installed with correct version numbers by running:
(
export PKG=validate-float-input;
npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)
Which produces and runs a command like:
npm install --save validate-float-input react@>=#.## react-dom@>=#.## react-addons-shallow-compare@>=#.##