@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.
- package/README.md +3 -3
- 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 {
|
|
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
|
-
<
|
|
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