Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Jul 23, 2023
1 parent c924dd8 commit 344e6fb
Show file tree
Hide file tree
Showing 23 changed files with 13,098 additions and 94 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ node_modules
.nyc_output
coverage
*.lcov
./dist
dist
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ A fully customizable, one-time password input component for the web built with R

![see here](https://media.giphy.com/media/lN98dFU6h3oP0wWS5x/giphy.gif)

### Support auto fill on mobile (safari, chrome....)
![see here](https://res.cloudinary.com/hunghg255/image/upload/v1684903469/rc-otp_wabj3h.jpg)
## Support auto fill on mobile (safari, chrome....)
![see here](https://res.cloudinary.com/hunghg255/image/upload/v1690099530/react-otp-input_r7ukv1.png)


[Live Demo](https://reactjs-otp-input-demo.vercel.app/)
Expand All @@ -20,7 +20,7 @@ A fully customizable, one-time password input component for the web built with R
[![NPM](https://nodei.co/npm/reactjs-otp-input.png?compact=true)](https://nodei.co/npm/reactjs-otp-input/)


#### To install the latest stable version:
## To install the latest stable version:

```
npm install --save reactjs-otp-input@latest
Expand All @@ -31,7 +31,7 @@ Or `yarn`
yarn add reactjs-otp-input
```

#### Basic usage:
## Basic usage:

```jsx
import React, { Component } from 'react';
Expand All @@ -47,9 +47,7 @@ export default const App {
```


## Development

#### To run the development server:
## To run the development server:

```
npm run dev
Expand Down
26 changes: 0 additions & 26 deletions dist/cjs/index.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions dist/cjs/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/cjs/index.js.map

This file was deleted.

26 changes: 0 additions & 26 deletions dist/esm/index.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions dist/esm/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/esm/index.js.map

This file was deleted.

28 changes: 0 additions & 28 deletions dist/index.d.ts

This file was deleted.

Loading

0 comments on commit 344e6fb

Please sign in to comment.