1.1.10 • Published 2 years ago

react-otp-code v1.1.10

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

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago