@siamf/otp-timer 5.0.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -35,7 +35,7 @@ $ npm i @siamf/otp-timer
35
35
  ### `OtpTimer` Component
36
36
 
37
37
  ```javascript
38
- import { Otptimer } from "@siamf/otp-timer";
38
+ import { OtpTimer } from "@siamf/otp-timer";
39
39
 
40
40
  const MyComponent = () => {
41
41
 
@@ -45,7 +45,7 @@ const MyComponent = () => {
45
45
 
46
46
  return (
47
47
  <div>
48
- <Otptimer
48
+ <OtpTimer
49
49
  minutes={0}
50
50
  seconds={30}
51
51
  onResend={handleResend}
@@ -211,4 +211,4 @@ You are welcome to create an issue.
211
211
 
212
212
  - Author - [Siam Ahnaf](https://www.siamahnaf.com/)
213
213
  - Website - [https://www.siamahnaf.com/](https://www.siamahnaf.com/)
214
- - Github - [https://github.com/siamahnaf](https://github.com/siamahnaf)
214
+ - Github - [https://github.com/siamahnaf](https://github.com/siamahnaf)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siamf/otp-timer",
3
- "version": "5.0.2",
3
+ "version": "5.0.3",
4
4
  "description": "A simple react otp timer component with resend functionality🤷",
5
5
  "homepage": "https://github.com/siamahnaf/otp-timer",
6
6
  "main": "dist/cjs/index.js",