A simple input field written with react that includes styling for errors/validation.
Table of Contents generated with DocToc
npm i -S @getable/input-field
import from '@getable/input-field'
('Rainbow')
Returns the string passed to it.
Emitted when x happens. Passes myString
which is a y.
Tests are in tape.
npm test
will run the tests in a browsernpm run tdd
will run the tests in a browser on every file change.
To publish, run npm run release -- [{patch,minor,major}]
NOTE: you might need to sudo ln -s /usr/local/bin/node /usr/bin/node
to ensure node is in your path for the git hooks to work
- npm > 2.0.0 So that passing args to a npm script will work.
npm i -g npm
- git > 1.8.3 So that
git push --follow-tags
will work.brew install git
Artistic 2.0 © Christopher Stumph