1.1.10 • Published 3 years ago

react-otp-code v1.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-otp-code

One time password component

npm.io

CodeSandbox

Installation

NPM

To install the latest stable version:

npm install react-otp-code

Basic usage:

import { OtpCode } from 'react-otp-code';
import { useEffect, useState } from 'react';

export default function App() {
    const [test, setTest] = useState('');

    return (
        <div className="App">
            <OtpCode onChange={setTest} classNames={'yourClassName'} />
        </div>
    );
}

API

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago