2.0.1 • Published 2 years ago

iput v2.0.1

Weekly downloads
192
License
ISC
Repository
github
Last release
2 years ago

IPut

About

ip input component for react(>=0.14).

Usage

basic Usage

  import React from 'react';
  import ReactDOM from 'react-dom';
  import IPut from 'iput';

  ReactDOM.render(
    <IPut />,
    document.getElementById('app')
  );

API

IPut props

nametypedefaultdescription
classNameStringadditional css class of root dom node
defaultValueString|Array\<String>specify the default ip
onChangeFunction(value:string)called when input value change
isErrorFunctioncustom function to check value

Example

run npm start and open http://localhost:8080

online example: http://lizheming.github.io/iput

License

IPut is released under the MIT license.

1.1.3

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago