1.0.11 • Published 4 years ago

a-ipinput v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

IpInput

About

IpInput component for antd.

Based on http://lizheming.github.io/Iput。

Usage

basic Usage

  import React from 'react';
  import ReactDOM from 'react-dom';
  import IpInput from 'IpInput';

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

API

IpInput 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: https://codesandbox.io/s/a-ipinput-demo-y7vxw

License

IpInput is released under the MIT license.

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago