@hoseinh/react-analog-clock
Advanced tools
Comparing version 0.4.0 to 0.5.0
{ | ||
"name": "@hoseinh/react-analog-clock", | ||
"private": false, | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"module": "./lib/esm/index.js", | ||
@@ -6,0 +6,0 @@ "main": "./lib/cjs/index.js", |
@@ -11,3 +11,3 @@ | ||
Check out the [online demo](https://hoseinh.com/demos/analog-clock) For Examples. | ||
Check out the [online demo](https://react-clock.hoseinh.com) For Examples. | ||
@@ -55,2 +55,16 @@ ## Installation | ||
You can show a static time and disable the clock's auto update by passing a "staticDate" Date object: | ||
```javascript | ||
. | ||
. | ||
. | ||
<AnalogClock | ||
staticDate={new Date(2024, 0, 1, 12, 15, 0)} | ||
/> | ||
. | ||
. | ||
. | ||
``` | ||
## Props | ||
@@ -57,0 +71,0 @@ |
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
155711
93