@etsoo/react 1.7.45 → 1.7.46
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.
|
@@ -21,7 +21,7 @@ export type ScrollerGridItemRendererProps<T> = Omit<GridChildComponentProps<T>,
|
|
|
21
21
|
/**
|
|
22
22
|
* Scroller vertical grid props
|
|
23
23
|
*/
|
|
24
|
-
export interface ScrollerGridProps<T extends object> extends GridLoader<T>, Omit<VariableSizeGridProps<T>, 'children' | 'rowCount' | 'rowHeight'
|
|
24
|
+
export interface ScrollerGridProps<T extends object> extends GridLoader<T>, Omit<VariableSizeGridProps<T>, 'children' | 'rowCount' | 'rowHeight'> {
|
|
25
25
|
/**
|
|
26
26
|
* Default order by asc
|
|
27
27
|
* @default true
|
|
@@ -6,7 +6,7 @@ import { GridMethodRef } from './GridMethodRef';
|
|
|
6
6
|
/**
|
|
7
7
|
* Scroller vertical list props
|
|
8
8
|
*/
|
|
9
|
-
export interface ScrollerListProps<T extends object> extends GridLoader<T>, Omit<ListProps<T>, '
|
|
9
|
+
export interface ScrollerListProps<T extends object> extends GridLoader<T>, Omit<ListProps<T>, 'outerRef' | 'height' | 'width' | 'children' | 'itemCount'> {
|
|
10
10
|
/**
|
|
11
11
|
* Default order by asc/desc
|
|
12
12
|
*/
|
package/package.json
CHANGED
|
@@ -46,10 +46,7 @@ export type ScrollerGridItemRendererProps<T> = Omit<
|
|
|
46
46
|
*/
|
|
47
47
|
export interface ScrollerGridProps<T extends object>
|
|
48
48
|
extends GridLoader<T>,
|
|
49
|
-
Omit<
|
|
50
|
-
VariableSizeGridProps<T>,
|
|
51
|
-
'children' | 'rowCount' | 'rowHeight' | 'ref'
|
|
52
|
-
> {
|
|
49
|
+
Omit<VariableSizeGridProps<T>, 'children' | 'rowCount' | 'rowHeight'> {
|
|
53
50
|
/**
|
|
54
51
|
* Default order by asc
|
|
55
52
|
* @default true
|
|
@@ -25,7 +25,7 @@ export interface ScrollerListProps<T extends object>
|
|
|
25
25
|
extends GridLoader<T>,
|
|
26
26
|
Omit<
|
|
27
27
|
ListProps<T>,
|
|
28
|
-
'
|
|
28
|
+
'outerRef' | 'height' | 'width' | 'children' | 'itemCount' // Exclude these props, shoud be exisited otherwise will be failed
|
|
29
29
|
> {
|
|
30
30
|
/**
|
|
31
31
|
* Default order by asc/desc
|
package/tsconfig.json
CHANGED