Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 1.35 KB

README.md

File metadata and controls

49 lines (31 loc) · 1.35 KB

React TypeScript OTP Input

CI/CD codecov

An OTP (one-time password) or OTC (one-time code) input component bootstrapped with Create React App + TypeScript.

Quick Start

  1. Install Yarn.
  2. Clone the app:
git clone [email protected]:dominicarrojado/react-typescript-otp-input.git
  1. Install dependencies:
cd react-typescript-otp-input
yarn install
  1. Run the development server:
yarn start
  1. Open http://localhost:3000 to view it in the browser.

Running Tests (Watch)

yarn test

Build For Production

  1. Build static files:
yarn build
  1. The build directory can be served by any static hosting service or CDN.

Learn

Learn how to build this OTP input here.