@snowpact/react-tanstack-query-table 1.7.4 → 1.7.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 CHANGED
@@ -179,6 +179,26 @@ const fetchUsers = async (params: ServerFetchParams) => {
179
179
 
180
180
  ---
181
181
 
182
+ ## Custom Component Classes
183
+
184
+ Add your own CSS classes (e.g., Tailwind) to specific components without overriding existing styles:
185
+
186
+ ```tsx
187
+ setupSnowTable({
188
+ translate: (key) => t(key),
189
+ LinkComponent: Link,
190
+ styles: {
191
+ searchBar: 'focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]',
192
+ },
193
+ });
194
+ ```
195
+
196
+ | Key | Component |
197
+ | ----------- | --------------- |
198
+ | `searchBar` | SearchBar input |
199
+
200
+ ---
201
+
182
202
  ## Actions
183
203
 
184
204
  Actions appear as buttons in each row: