@auto-skeleton/react 0.0.3 → 0.0.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 +8 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# auto-skeleton
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@auto-skeleton/react)
|
|
4
|
+
[](https://www.npmjs.com/package/@auto-skeleton/react)
|
|
5
|
+
[](https://github.com/riazzahmedm/react-auto-skeleton/stargazers)
|
|
6
|
+
[](https://github.com/riazzahmedm/react-auto-skeleton/issues)
|
|
7
|
+
[](https://github.com/riazzahmedm/react-auto-skeleton/blob/main/LICENSE)
|
|
8
|
+
|
|
3
9
|
Zero-config skeleton loaders for React. Wraps any component and auto-generates a pixel-accurate skeleton by scanning the real DOM — no manual shape definitions needed.
|
|
4
10
|
|
|
11
|
+
**[Live demo →](https://riazzahmedm.github.io/react-auto-skeleton/)**
|
|
12
|
+
|
|
5
13
|
```tsx
|
|
6
14
|
<AutoSkeleton id="profile" loading={isLoading}>
|
|
7
15
|
<ProfileCard />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auto-skeleton/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"main": "dist/index.cjs",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"./styles.css": "./dist/styles.css"
|
|
14
14
|
},
|
|
15
|
+
"license": "MIT",
|
|
15
16
|
"files": [
|
|
16
17
|
"dist",
|
|
17
18
|
"README.md"
|
|
@@ -28,6 +29,6 @@
|
|
|
28
29
|
"react-dom": ">=18"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@auto-skeleton/core": "0.0.
|
|
32
|
+
"@auto-skeleton/core": "0.0.4"
|
|
32
33
|
}
|
|
33
34
|
}
|