Socket
Socket
Sign inDemoInstall

@kyounghwan/verification-input

Package Overview
Dependencies
3
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @kyounghwan/verification-input

Input component to put verification code Component


Version published
Weekly downloads
12
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-verification-input

A verification code input

DEMO

https://react-verification-input.netlify.app/

Install

npm install --save @kyounghwan/verification-input
yarn add @kyounghwan/verification-input

Usage

import React from "react";
import { VerficationInput } from "@kyounghwan/verification-input";

export default function App() {
  return <VerficationInput length={6} onChange{value => console.log(value)} placeholder="0"/>;
}

API

Props

KeyTypeDefaultRequiredDescription
lengthnumber4falseHow many items are render
onChangefunctionfalseFunction to receive events
placeholderstring·falseplaceholder

License

MIT © kyounghwan

Keywords

FAQs

Last updated on 16 Aug 2020

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