auto-skeleton-react 1.0.4 → 1.0.5
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 +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
# auto-skeleton-react
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+
|
|
3
7
|
Auto-generate skeleton loading screens from your existing React DOM structure. Zero manual skeleton creation for 70-80% of use cases.
|
|
4
8
|
|
|
9
|
+
**[Live Demo](https://autoskeleton.shanukj.me)** | **[Documentation](https://autoskeleton.shanukj.me/docs)**
|
|
10
|
+
|
|
5
11
|
## Installation
|
|
6
12
|
|
|
7
13
|
```bash
|
|
@@ -11,6 +17,7 @@ npm install auto-skeleton-react
|
|
|
11
17
|
## Usage
|
|
12
18
|
|
|
13
19
|
```tsx
|
|
20
|
+
import { useState } from 'react';
|
|
14
21
|
import { AutoSkeleton } from 'auto-skeleton-react';
|
|
15
22
|
|
|
16
23
|
function MyComponent() {
|
|
@@ -125,6 +132,10 @@ src/
|
|
|
125
132
|
- Virtualized tables or infinite scrollers
|
|
126
133
|
- Performance-critical views with frequent loading
|
|
127
134
|
|
|
135
|
+
## Contributing
|
|
136
|
+
|
|
137
|
+
Found a bug or have a feature request? [Open an issue](https://github.com/ShanukJ/auto-skeleton/issues) on GitHub.
|
|
138
|
+
|
|
128
139
|
## License
|
|
129
140
|
|
|
130
141
|
MIT
|