1.0.11 • Published 3 years ago

a-ipinput v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago