Skip to content

Commit f37d282

Browse files
committed
Changed Repo Name and some editing in README
1 parent 17fe744 commit f37d282

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
## Basic Usage
44

55
```javascript
6+
import { OTPInput } from 'react-native-otp-input-fields';
7+
68
const [OTP, SetOTP] = useState("");
79
// Maintain a state variable
810

@@ -12,7 +14,7 @@ const [OTP, SetOTP] = useState("");
1214
value={OTP}
1315
...
1416

15-
/>
17+
/>
1618
```
1719

1820
![OTP Input Demo GIF](https://i.imgur.com/ZKOv0Pa.gif)

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-otp-input-fields",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "React Native Component for OTP Input Fields.",
55
"main": "index.js",
66
"scripts": {
@@ -18,7 +18,7 @@
1818
},
1919
"repository": {
2020
"type": "git",
21-
"url": "git+https://github.com/kartikeyvaish/OTP-Input-Fields.git"
21+
"url": "git+https://github.com/kartikeyvaish/react-native-otp-input-fields.git"
2222
},
2323
"keywords": [
2424
"OTP Input",
@@ -29,7 +29,7 @@
2929
"author": "Kartikey Vaish",
3030
"license": "MIT",
3131
"bugs": {
32-
"url": "https://github.com/kartikeyvaish/OTP-Input-Fields"
32+
"url": "https://github.com/kartikeyvaish/react-native-otp-input-fields"
3333
},
34-
"homepage": "https://github.com/kartikeyvaish/OTP-Input-Fields#readme"
34+
"homepage": "https://github.com/kartikeyvaish/react-native-otp-input-fields#readme"
3535
}

0 commit comments

Comments
 (0)