@behivetech/molecules.empty-state 0.3.2 → 0.3.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 +2 -9
- package/docs.json +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
A generic centered placeholder for empty lists, grids, or search results: an optional icon, a description, and an optional action. Modeled on AntD's `Empty` — reusable anywhere something has nothing to show yet.
|
|
4
4
|
|
|
5
|
+
Docs: https://bht-galaxy.vercel.app/behivetech/molecules/empty-state
|
|
6
|
+
|
|
5
7
|
## Usage
|
|
6
8
|
|
|
7
9
|
```jsx
|
|
@@ -17,12 +19,3 @@ function Example() {
|
|
|
17
19
|
);
|
|
18
20
|
}
|
|
19
21
|
```
|
|
20
|
-
|
|
21
|
-
## Props
|
|
22
|
-
|
|
23
|
-
| Prop | Type | Default | Description |
|
|
24
|
-
| ------------- | ----------- | ------- | ------------------------------------------------ |
|
|
25
|
-
| `icon` | `ReactNode` | — | Icon or illustration shown above the description |
|
|
26
|
-
| `description` | `ReactNode` | — | Message explaining the empty state (required) |
|
|
27
|
-
| `children` | `ReactNode` | — | Action content rendered below the description |
|
|
28
|
-
| `className` | `string` | — | Additional class names |
|
package/docs.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@behivetech/molecules.empty-state",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"license": "MIT",
|
|
5
|
+
"description": "A generic centered placeholder for empty lists, grids, or search results: an optional icon, a description, and an optional action. Modeled on AntD's `Empty` — reusable anywhere something has nothing to show yet.",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"private": false,
|
|
7
8
|
"exports": {
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
"url": "https://github.com/behivetech/bht-galaxy.git",
|
|
45
46
|
"directory": "registry/behivetech/molecules/empty-state"
|
|
46
47
|
},
|
|
48
|
+
"homepage": "https://bht-galaxy.vercel.app/behivetech/molecules/empty-state",
|
|
47
49
|
"publishConfig": {
|
|
48
50
|
"registry": "https://registry.npmjs.org",
|
|
49
51
|
"access": "public",
|