@behivetech/atoms.stat 0.4.3 → 0.4.4
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 +15 -0
- package/docs.json +1 -1
- package/package.json +3 -1
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Stat
|
|
2
|
+
|
|
3
|
+
A label over a large value, for dashboards and summary rows — with an optional prefix (a currency sign) and suffix (a unit) around the value.
|
|
4
|
+
|
|
5
|
+
Docs: https://bht-galaxy.vercel.app/behivetech/atoms/stat
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```jsx
|
|
10
|
+
import { Stat } from '@behivetech/atoms.stat';
|
|
11
|
+
|
|
12
|
+
<Stat label="Total pages" value={42} />
|
|
13
|
+
<Stat label="Revenue" value={1200} prefix="$" />
|
|
14
|
+
<Stat label="Uptime" value={99.9} suffix="%" />
|
|
15
|
+
```
|
package/docs.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@behivetech/atoms.stat",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"license": "MIT",
|
|
5
|
+
"description": "A label over a large value, for dashboards and summary rows — with an optional prefix (a currency sign) and suffix (a unit) around the value.",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"private": false,
|
|
7
8
|
"exports": {
|
|
@@ -46,6 +47,7 @@
|
|
|
46
47
|
"url": "https://github.com/behivetech/bht-galaxy.git",
|
|
47
48
|
"directory": "registry/behivetech/atoms/stat"
|
|
48
49
|
},
|
|
50
|
+
"homepage": "https://bht-galaxy.vercel.app/behivetech/atoms/stat",
|
|
49
51
|
"publishConfig": {
|
|
50
52
|
"registry": "https://registry.npmjs.org",
|
|
51
53
|
"access": "public",
|