Skip to content

Commit 3868791

Browse files
committed
update readme
1 parent 8a27747 commit 3868791

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 everyone
3+
Copyright (c) 2023-present everyone
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ A fully customizable, one-time password input component for the web built with R
99

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

12+
### Support auto fill on mobile (safari, chrome....)
13+
![see here](https://res.cloudinary.com/hunghg255/image/upload/v1684903469/rc-otp_wabj3h.jpg)
14+
15+
1216
[Live Demo](https://reactjs-otp-input-demo.vercel.app/)
1317

1418
## Installation
@@ -21,6 +25,11 @@ A fully customizable, one-time password input component for the web built with R
2125
```
2226
npm install --save reactjs-otp-input@latest
2327
```
28+
Or `yarn`
29+
30+
```
31+
yarn add reactjs-otp-input
32+
```
2433

2534
#### Basic usage:
2635

@@ -37,6 +46,16 @@ export default const App {
3746
}
3847
```
3948

49+
50+
## Development
51+
52+
#### To run the development server:
53+
54+
```
55+
npm run dev
56+
```
57+
58+
4059
## API
4160

4261
<table>
@@ -168,12 +187,3 @@ export default const App {
168187
</tr>
169188
</table>
170189

171-
## Development
172-
173-
#### To run the development server:
174-
175-
```
176-
npm run dev
177-
```
178-
179-
### Support auto fill on mobile

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reactjs-otp-input",
3-
"version": "2.0.6",
3+
"version": "2.0.7",
44
"description": "A fully customizable, one-time password input component for the web built with React",
55
"scripts": {
66
"build": "rollup -c",

0 commit comments

Comments
 (0)