react-virtuoso 2.8.1 → 2.8.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/dist/Table.d.ts +18 -20
- package/dist/components.d.ts +7 -7373
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.m.js.map +1 -1
- package/dist/interfaces.d.ts +7 -1
- package/package.json +1 -1
package/dist/interfaces.d.ts
CHANGED
|
@@ -26,6 +26,12 @@ export interface GroupProps {
|
|
|
26
26
|
}
|
|
27
27
|
export declare type TopItemListProps = Pick<ComponentPropsWithRef<'div'>, 'style' | 'children'>;
|
|
28
28
|
export declare type TableProps = Pick<ComponentPropsWithRef<'table'>, 'style'>;
|
|
29
|
+
/**
|
|
30
|
+
* Passed to the Components.TableBody custom component
|
|
31
|
+
*/
|
|
32
|
+
export declare type TableBodyProps = Pick<ComponentPropsWithRef<'tbody'>, 'style' | 'children' | 'ref' | 'className'> & {
|
|
33
|
+
'data-test-id': string;
|
|
34
|
+
};
|
|
29
35
|
/**
|
|
30
36
|
* Passed to the Components.List custom component
|
|
31
37
|
*/
|
|
@@ -157,7 +163,7 @@ export interface TableComponents<Context = unknown> {
|
|
|
157
163
|
/**
|
|
158
164
|
* Set to customize the items wrapper. Default is `tbody`.
|
|
159
165
|
*/
|
|
160
|
-
TableBody?: ComponentType<
|
|
166
|
+
TableBody?: ComponentType<TableBodyProps & {
|
|
161
167
|
context?: Context;
|
|
162
168
|
}>;
|
|
163
169
|
/**
|