@snowpact/react-tanstack-query-table 1.1.0 → 1.1.1
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 +23 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,29 @@ pnpm add @snowpact/react-tanstack-query-table
|
|
|
24
24
|
npm install @tanstack/react-query @tanstack/react-table react react-dom
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
### Tailwind CSS Configuration
|
|
28
|
+
|
|
29
|
+
Tailwind CSS is required. You must configure Tailwind to scan the package's classes:
|
|
30
|
+
|
|
31
|
+
**In your `tailwind.config.css` (Tailwind v4):**
|
|
32
|
+
|
|
33
|
+
```css
|
|
34
|
+
/* Include SnowTable classes for Tailwind scanning */
|
|
35
|
+
@source "node_modules/@snowpact/react-tanstack-query-table/dist";
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**Or in `tailwind.config.js` (Tailwind v3):**
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
module.exports = {
|
|
42
|
+
content: [
|
|
43
|
+
// ... your app files
|
|
44
|
+
'./node_modules/@snowpact/react-tanstack-query-table/dist/**/*.js',
|
|
45
|
+
],
|
|
46
|
+
};
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
> **Note**: The path may vary depending on your project structure. If using a monorepo or workspace, adjust the path accordingly (e.g., `../../node_modules/...`).
|
|
28
50
|
|
|
29
51
|
## Quick Start
|
|
30
52
|
|