🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@masjed/modern-react-verification-code-input

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@masjed/modern-react-verification-code-input

A modern verification code input

latest
Source
npmnpm
Version
1.2.9
Version published
Maintainers
1
Created
Source

react-verification-code-input

🎉A verification code input

NPM JavaScript Style Guide

NPM

Live demo

  • Demo

Install

npm install --save react-verification-code-input

Usage

import React, { Component } from 'react';

import ReactCodeInput from 'react-verification-code-input';

class Example extends Component {
  render() {
    return <ReactCodeInput />;
  }
}

PropTypes

KeyTypeDesc
typetextone of number or text
fieldsnumberThe count of characters
onChangefuncTrigger on character change
onCompletefuncTrigger on all character inputs
fieldWidthnumberinput width
fieldHeightnumberinput height
autoFocusboolauto focus first input on init
titlestringcode input title
loadingboolshow loading flag
classNamestringclass name
valuesarraydefault values
placeholderarrayinput placeholder

License

MIT © suweya

Keywords

react

FAQs

Package last updated on 25 Feb 2022

Did you know?

Socket

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