iput
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/iput package

2.0.1 • Public • Published

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

name type default description
className String additional css class of root dom node
defaultValue String|Array<String> specify the default ip
onChange Function(value:string) called when input value change
isError Function custom 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.

Dependencies (0)

    Dev Dependencies (17)

    Package Sidebar

    Install

    npm i iput

    Weekly Downloads

    580

    Version

    2.0.1

    License

    ISC

    Unpacked Size

    405 kB

    Total Files

    21

    Last publish

    Collaborators

    • lizheming