@gfazioli/mantine-clock 4.0.12 → 4.0.14
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 +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,14 +33,16 @@ The Clock supports live ticking or static display via a value prop, multiple sec
|
|
|
33
33
|
## Installation
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
npm install @gfazioli/mantine-clock
|
|
36
|
+
npm install @gfazioli/mantine-clock dayjs
|
|
37
37
|
```
|
|
38
38
|
or
|
|
39
39
|
|
|
40
40
|
```sh
|
|
41
|
-
yarn add @gfazioli/mantine-clock
|
|
41
|
+
yarn add @gfazioli/mantine-clock dayjs
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
`dayjs` is a peer dependency: the clocks read and convert the time with it (its `utc` and `timezone` plugins), so install it alongside if your app does not have it yet.
|
|
45
|
+
|
|
44
46
|
After installation import package styles at the root of your application:
|
|
45
47
|
|
|
46
48
|
```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gfazioli/mantine-clock",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.14",
|
|
4
4
|
"description": "React Clock components and hooks for Mantine with timezone support, countdown timers, customization options, and real-time updates.",
|
|
5
5
|
"homepage": "https://gfazioli.github.io/mantine-clock/",
|
|
6
6
|
"packageManager": "yarn@4.0.1",
|