Socket
Socket
Sign inDemoInstall

iput

Package Overview
Dependencies
6
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    iput

an IP input component like windows


Version published
Weekly downloads
418
decreased by-3.91%
Maintainers
1
Install size
395 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 05 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc