Skip to content

Commit 6369e17

Browse files
committed
feat: update readme
1 parent c40c516 commit 6369e17

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,22 @@ A verification code input, autocompletion friendly
1515
- [Controllable](https://codesandbox.io/s/controllable-32dfy)
1616
- [Custom Styles](https://codesandbox.io/s/custom-styles-bw8s4)
1717

18-
## Install
18+
## peerDependencies
1919

20-
```bash
21-
npm install --save react-input-verification-code
2220
```
21+
{
22+
"react": ">=16.0.0",
23+
"styled-components": ">=5.0.0"
24+
}
25+
```
26+
## Install
2327

2428
```bash
2529
yarn add react-input-verification-code
30+
31+
# if you don't use `styled-components` in your project
32+
# you have to install it as well
33+
yarn add react-input-verification-code styled-components
2634
```
2735

2836
## Usage

0 commit comments

Comments
 (0)