react-timer-and-stopwatch
Advanced tools
Comparing version 0.6.3 to 0.6.4
{ | ||
"name": "react-timer-and-stopwatch", | ||
"version": "0.6.3", | ||
"version": "0.6.4", | ||
"description": "A countdown timer and stopwatch hook for React", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -33,2 +33,3 @@ # React Timer and Stopwatch hook | ||
```jsx | ||
import { useTimer } from "react-timer-and-stopwatch"; | ||
const SomeReactComponent = () => { | ||
@@ -64,2 +65,3 @@ const timer = useTimer({ | ||
```jsx | ||
import { useTimer } from "react-timer-and-stopwatch"; | ||
const SomeReactComponent = () => { | ||
@@ -91,2 +93,3 @@ const unixTimestamp = Date.now() + 10000; // 10 seconds in the future | ||
```jsx | ||
import { useTimer } from "react-timer-and-stopwatch"; | ||
import moment from 'moment'; | ||
@@ -114,2 +117,3 @@ const SomeReactComponent = () => { | ||
```jsx | ||
import { useTimer } from "react-timer-and-stopwatch"; | ||
const SomeReactComponent = () => { | ||
@@ -116,0 +120,0 @@ const timer = useTimer({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
334053
292