2.1.3 • Published 10 years ago

@getable/input-field v2.1.3

Weekly downloads
11
License
Artistic 2.0
Repository
github
Last release
10 years ago

@getable-input-field NPM version Dependency Status Build Status

A simple input field written with react that includes styling for errors/validation.

Table of Contents generated with DocToc

Install

npm i -S @getable/input-field

Usage

import  from '@getable/input-field'

('Rainbow')

Methods

get (<String> string)

Returns the string passed to it.

Events

myEvent (<String> myString)

Emitted when x happens. Passes myString which is a y.

Tests

Tests are in tape.

  • npm test will run the tests in a browser
  • npm run tdd will run the tests in a browser on every file change.

Developing

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

Requirements

  • 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

License

Artistic 2.0 © Christopher Stumph

2.1.3

10 years ago

2.1.2

10 years ago

2.1.1

10 years ago

2.1.0

10 years ago

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

0.0.3

10 years ago

1.0.0

10 years ago