2.0.1 • Published 3 years ago

iput v2.0.1

Weekly downloads
192
License
ISC
Repository
github
Last release
3 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

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.1

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago