@majoo-ui/react 1.58.12-rc.2 → 1.58.12
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/components/table/MobileTable.d.ts +8 -0
- package/index.esm.js +442 -360
- package/index.umd.js +485 -405
- package/package.json +2 -2
|
@@ -7,6 +7,13 @@ interface CustomRowsStyle {
|
|
|
7
7
|
css?: CSS;
|
|
8
8
|
hideRowMenuColumn?: boolean;
|
|
9
9
|
}
|
|
10
|
+
interface IRowVirtualizer {
|
|
11
|
+
virtualItems: {
|
|
12
|
+
start: number;
|
|
13
|
+
end: number;
|
|
14
|
+
}[];
|
|
15
|
+
totalSize: number;
|
|
16
|
+
}
|
|
10
17
|
interface MobileTableProps {
|
|
11
18
|
instance: TableInstance<object>;
|
|
12
19
|
totalData: number;
|
|
@@ -25,6 +32,7 @@ interface MobileTableProps {
|
|
|
25
32
|
additionalExceptionIds: string[];
|
|
26
33
|
hideHeader?: boolean;
|
|
27
34
|
decoration?: Decoration;
|
|
35
|
+
rowVirtualizer: IRowVirtualizer;
|
|
28
36
|
}
|
|
29
37
|
declare const MobileTable: React.ForwardRefExoticComponent<MobileTableProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
38
|
export default MobileTable;
|