@legendapp/list 1.0.0-beta.39 → 1.0.0-beta.40
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/animated.d.mts +4 -4
- package/animated.d.ts +4 -4
- package/index.d.mts +10 -10
- package/index.d.ts +10 -10
- package/keyboard-controller.d.mts +18 -18
- package/keyboard-controller.d.ts +18 -18
- package/keyboard-controller.js +24 -4
- package/keyboard-controller.mjs +1 -0
- package/package.json +1 -1
- package/reanimated.d.mts +4 -4
- package/reanimated.d.ts +4 -4
package/animated.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import * as _legendapp_list from '@legendapp/list';
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { Animated } from 'react-native';
|
|
@@ -14,7 +14,7 @@ declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<re
|
|
|
14
14
|
initialContainerPoolRatio?: number | undefined;
|
|
15
15
|
initialScrollOffset?: number;
|
|
16
16
|
initialScrollIndex?: number;
|
|
17
|
-
ItemSeparatorComponent?:
|
|
17
|
+
ItemSeparatorComponent?: React$1.ComponentType<{
|
|
18
18
|
leadingItem: T;
|
|
19
19
|
}> | undefined;
|
|
20
20
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -48,11 +48,11 @@ declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<re
|
|
|
48
48
|
recycleItems?: boolean;
|
|
49
49
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
50
50
|
refreshing?: boolean;
|
|
51
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
51
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React$1.ReactNode) | undefined;
|
|
52
52
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
53
53
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
54
54
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
55
55
|
waitForInitialLayout?: boolean;
|
|
56
|
-
} &
|
|
56
|
+
} & React$1.RefAttributes<_legendapp_list.LegendListRef>) => React.ReactNode)>;
|
|
57
57
|
|
|
58
58
|
export { AnimatedLegendList };
|
package/animated.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import * as _legendapp_list from '@legendapp/list';
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { Animated } from 'react-native';
|
|
@@ -14,7 +14,7 @@ declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<re
|
|
|
14
14
|
initialContainerPoolRatio?: number | undefined;
|
|
15
15
|
initialScrollOffset?: number;
|
|
16
16
|
initialScrollIndex?: number;
|
|
17
|
-
ItemSeparatorComponent?:
|
|
17
|
+
ItemSeparatorComponent?: React$1.ComponentType<{
|
|
18
18
|
leadingItem: T;
|
|
19
19
|
}> | undefined;
|
|
20
20
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -48,11 +48,11 @@ declare const AnimatedLegendList: Animated.AnimatedComponent<(<T>(props: Omit<re
|
|
|
48
48
|
recycleItems?: boolean;
|
|
49
49
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
50
50
|
refreshing?: boolean;
|
|
51
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
51
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React$1.ReactNode) | undefined;
|
|
52
52
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
53
53
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
54
54
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
55
55
|
waitForInitialLayout?: boolean;
|
|
56
|
-
} &
|
|
56
|
+
} & React$1.RefAttributes<_legendapp_list.LegendListRef>) => React.ReactNode)>;
|
|
57
57
|
|
|
58
58
|
export { AnimatedLegendList };
|
package/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { ScrollView, StyleProp, ViewStyle, ScrollViewProps, NativeSyntheticEvent, NativeScrollEvent, ScrollViewComponent, ScrollResponderMixin } from 'react-native';
|
|
@@ -464,14 +464,14 @@ declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "content
|
|
|
464
464
|
initialContainerPoolRatio?: number | undefined;
|
|
465
465
|
initialScrollOffset?: number;
|
|
466
466
|
initialScrollIndex?: number;
|
|
467
|
-
ItemSeparatorComponent?:
|
|
467
|
+
ItemSeparatorComponent?: React$1.ComponentType<{
|
|
468
468
|
leadingItem: T;
|
|
469
469
|
}> | undefined;
|
|
470
470
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
471
|
-
ListEmptyComponent?:
|
|
472
|
-
ListFooterComponent?:
|
|
471
|
+
ListEmptyComponent?: React$1.ComponentType<any> | React$1.ReactElement | null | undefined;
|
|
472
|
+
ListFooterComponent?: React$1.ComponentType<any> | React$1.ReactElement | null | undefined;
|
|
473
473
|
ListFooterComponentStyle?: react_native.StyleProp<ViewStyle> | undefined;
|
|
474
|
-
ListHeaderComponent?:
|
|
474
|
+
ListHeaderComponent?: React$1.ComponentType<any> | React$1.ReactElement | null | undefined;
|
|
475
475
|
ListHeaderComponentStyle?: react_native.StyleProp<ViewStyle> | undefined;
|
|
476
476
|
maintainScrollAtEnd?: boolean;
|
|
477
477
|
maintainScrollAtEndThreshold?: number;
|
|
@@ -496,18 +496,18 @@ declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "content
|
|
|
496
496
|
onViewableItemsChanged?: OnViewableItemsChanged | undefined;
|
|
497
497
|
progressViewOffset?: number;
|
|
498
498
|
recycleItems?: boolean;
|
|
499
|
-
refScrollView?:
|
|
499
|
+
refScrollView?: React$1.Ref<ScrollView>;
|
|
500
500
|
refreshing?: boolean;
|
|
501
|
-
renderItem?: ((props: LegendListRenderItemProps<T>) =>
|
|
502
|
-
renderScrollComponent?: (props: react_native.ScrollViewProps) =>
|
|
501
|
+
renderItem?: ((props: LegendListRenderItemProps<T>) => React$1.ReactNode) | undefined;
|
|
502
|
+
renderScrollComponent?: (props: react_native.ScrollViewProps) => React$1.ReactElement<react_native.ScrollViewProps>;
|
|
503
503
|
viewabilityConfig?: ViewabilityConfig;
|
|
504
504
|
viewabilityConfigCallbackPairs?: ViewabilityConfigCallbackPairs | undefined;
|
|
505
505
|
waitForInitialLayout?: boolean;
|
|
506
|
-
} &
|
|
506
|
+
} & React$1.RefAttributes<LegendListRef>) => React$1.ReactNode;
|
|
507
507
|
|
|
508
508
|
declare function useViewability(configId: string, callback: ViewabilityCallback): void;
|
|
509
509
|
declare function useViewabilityAmount(callback: ViewabilityAmountCallback): void;
|
|
510
510
|
declare function useRecyclingEffect(effect: (info: LegendListRecyclingState<unknown>) => void | (() => void)): void;
|
|
511
|
-
declare function useRecyclingState(valueOrFun: ((info: LegendListRecyclingState<unknown>) => any) | any): [any,
|
|
511
|
+
declare function useRecyclingState(valueOrFun: ((info: LegendListRecyclingState<unknown>) => any) | any): [any, React$1.Dispatch<any>];
|
|
512
512
|
|
|
513
513
|
export { type AnchoredPosition, type ColumnWrapperStyle, type InternalState, LegendList, type LegendListProps, type LegendListPropsBase, type LegendListRecyclingState, type LegendListRef, type LegendListRenderItemProps, type OnViewableItemsChanged, type ScrollState, type TypedForwardRef, type TypedMemo, type ViewAmountToken, type ViewToken, type ViewabilityAmountCallback, type ViewabilityCallback, type ViewabilityConfig, type ViewabilityConfigCallbackPair, type ViewabilityConfigCallbackPairs, type ViewableRange, typedForwardRef, typedMemo, useRecyclingEffect, useRecyclingState, useViewability, useViewabilityAmount };
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
import * as react_native from 'react-native';
|
|
4
4
|
import { ScrollView, StyleProp, ViewStyle, ScrollViewProps, NativeSyntheticEvent, NativeScrollEvent, ScrollViewComponent, ScrollResponderMixin } from 'react-native';
|
|
@@ -464,14 +464,14 @@ declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "content
|
|
|
464
464
|
initialContainerPoolRatio?: number | undefined;
|
|
465
465
|
initialScrollOffset?: number;
|
|
466
466
|
initialScrollIndex?: number;
|
|
467
|
-
ItemSeparatorComponent?:
|
|
467
|
+
ItemSeparatorComponent?: React$1.ComponentType<{
|
|
468
468
|
leadingItem: T;
|
|
469
469
|
}> | undefined;
|
|
470
470
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
471
|
-
ListEmptyComponent?:
|
|
472
|
-
ListFooterComponent?:
|
|
471
|
+
ListEmptyComponent?: React$1.ComponentType<any> | React$1.ReactElement | null | undefined;
|
|
472
|
+
ListFooterComponent?: React$1.ComponentType<any> | React$1.ReactElement | null | undefined;
|
|
473
473
|
ListFooterComponentStyle?: react_native.StyleProp<ViewStyle> | undefined;
|
|
474
|
-
ListHeaderComponent?:
|
|
474
|
+
ListHeaderComponent?: React$1.ComponentType<any> | React$1.ReactElement | null | undefined;
|
|
475
475
|
ListHeaderComponentStyle?: react_native.StyleProp<ViewStyle> | undefined;
|
|
476
476
|
maintainScrollAtEnd?: boolean;
|
|
477
477
|
maintainScrollAtEndThreshold?: number;
|
|
@@ -496,18 +496,18 @@ declare const LegendList: <T>(props: Omit<react_native.ScrollViewProps, "content
|
|
|
496
496
|
onViewableItemsChanged?: OnViewableItemsChanged | undefined;
|
|
497
497
|
progressViewOffset?: number;
|
|
498
498
|
recycleItems?: boolean;
|
|
499
|
-
refScrollView?:
|
|
499
|
+
refScrollView?: React$1.Ref<ScrollView>;
|
|
500
500
|
refreshing?: boolean;
|
|
501
|
-
renderItem?: ((props: LegendListRenderItemProps<T>) =>
|
|
502
|
-
renderScrollComponent?: (props: react_native.ScrollViewProps) =>
|
|
501
|
+
renderItem?: ((props: LegendListRenderItemProps<T>) => React$1.ReactNode) | undefined;
|
|
502
|
+
renderScrollComponent?: (props: react_native.ScrollViewProps) => React$1.ReactElement<react_native.ScrollViewProps>;
|
|
503
503
|
viewabilityConfig?: ViewabilityConfig;
|
|
504
504
|
viewabilityConfigCallbackPairs?: ViewabilityConfigCallbackPairs | undefined;
|
|
505
505
|
waitForInitialLayout?: boolean;
|
|
506
|
-
} &
|
|
506
|
+
} & React$1.RefAttributes<LegendListRef>) => React$1.ReactNode;
|
|
507
507
|
|
|
508
508
|
declare function useViewability(configId: string, callback: ViewabilityCallback): void;
|
|
509
509
|
declare function useViewabilityAmount(callback: ViewabilityAmountCallback): void;
|
|
510
510
|
declare function useRecyclingEffect(effect: (info: LegendListRecyclingState<unknown>) => void | (() => void)): void;
|
|
511
|
-
declare function useRecyclingState(valueOrFun: ((info: LegendListRecyclingState<unknown>) => any) | any): [any,
|
|
511
|
+
declare function useRecyclingState(valueOrFun: ((info: LegendListRecyclingState<unknown>) => any) | any): [any, React$1.Dispatch<any>];
|
|
512
512
|
|
|
513
513
|
export { type AnchoredPosition, type ColumnWrapperStyle, type InternalState, LegendList, type LegendListProps, type LegendListPropsBase, type LegendListRecyclingState, type LegendListRef, type LegendListRenderItemProps, type OnViewableItemsChanged, type ScrollState, type TypedForwardRef, type TypedMemo, type ViewAmountToken, type ViewToken, type ViewabilityAmountCallback, type ViewabilityCallback, type ViewabilityConfig, type ViewabilityConfigCallbackPair, type ViewabilityConfigCallbackPairs, type ViewableRange, typedForwardRef, typedMemo, useRecyclingEffect, useRecyclingState, useViewability, useViewabilityAmount };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _legendapp_list from '@legendapp/list';
|
|
2
2
|
import { LegendListRef } from '@legendapp/list';
|
|
3
3
|
import * as react_native_reanimated_lib_typescript_layoutReanimation_animationBuilder_Keyframe from 'react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe';
|
|
4
|
-
import * as react from 'react';
|
|
5
4
|
import * as react_native from 'react-native';
|
|
6
5
|
import * as react_native_reanimated from 'react-native-reanimated';
|
|
7
6
|
import * as _legendapp_list_reanimated from '@legendapp/list/reanimated';
|
|
7
|
+
import * as React from 'react';
|
|
8
8
|
|
|
9
9
|
declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props: Omit<_legendapp_list_reanimated.AnimatedLegendListPropsBase<ItemT_1>, "refLegendList"> & {
|
|
10
10
|
getEstimatedItemSize?: ((index: number, item: ItemT_1) => number) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
27
27
|
showsHorizontalScrollIndicator?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
28
28
|
showsVerticalScrollIndicator?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
29
29
|
stickyHeaderHiddenOnScroll?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
30
|
-
refreshControl?:
|
|
30
|
+
refreshControl?: React.ReactElement<react_native.RefreshControlProps, string | React.JSXElementConstructor<any>> | react_native_reanimated.SharedValue<React.ReactElement<react_native.RefreshControlProps, string | React.JSXElementConstructor<any>> | undefined> | undefined;
|
|
31
31
|
snapToInterval?: number | react_native_reanimated.SharedValue<number | undefined> | undefined;
|
|
32
32
|
snapToOffsets?: number[] | react_native_reanimated.SharedValue<number[] | undefined> | undefined;
|
|
33
33
|
snapToStart?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
@@ -35,8 +35,8 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
35
35
|
stickyHeaderIndices?: number[] | react_native_reanimated.SharedValue<number[] | undefined> | undefined;
|
|
36
36
|
disableIntervalMomentum?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
37
37
|
disableScrollViewPanResponder?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
38
|
-
StickyHeaderComponent?:
|
|
39
|
-
children?:
|
|
38
|
+
StickyHeaderComponent?: React.ComponentType<any> | react_native_reanimated.SharedValue<React.ComponentType<any> | undefined> | undefined;
|
|
39
|
+
children?: React.ReactNode | react_native_reanimated.SharedValue<React.ReactNode>;
|
|
40
40
|
hitSlop?: number | react_native.Insets | react_native_reanimated.SharedValue<number | react_native.Insets | null | undefined> | null | undefined;
|
|
41
41
|
id?: string | react_native_reanimated.SharedValue<string | undefined> | undefined;
|
|
42
42
|
needsOffscreenAlphaCompositing?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
@@ -176,7 +176,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
176
176
|
sharedTransitionTag?: string;
|
|
177
177
|
sharedTransitionStyle?: react_native_reanimated.SharedTransition;
|
|
178
178
|
}> | undefined;
|
|
179
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT_1>) =>
|
|
179
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT_1>) => React.ReactNode) | undefined;
|
|
180
180
|
onItemSizeChanged?: ((info: {
|
|
181
181
|
size: number;
|
|
182
182
|
previous: number;
|
|
@@ -184,7 +184,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
184
184
|
itemKey: string;
|
|
185
185
|
itemData: ItemT_1;
|
|
186
186
|
}) => void) | undefined;
|
|
187
|
-
ItemSeparatorComponent?:
|
|
187
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
188
188
|
leadingItem: ItemT_1;
|
|
189
189
|
}> | undefined;
|
|
190
190
|
} & {
|
|
@@ -200,7 +200,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
200
200
|
initialContainerPoolRatio?: number | undefined;
|
|
201
201
|
initialScrollOffset?: number;
|
|
202
202
|
initialScrollIndex?: number;
|
|
203
|
-
ItemSeparatorComponent?:
|
|
203
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
204
204
|
leadingItem: T;
|
|
205
205
|
}> | undefined;
|
|
206
206
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -234,12 +234,12 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
234
234
|
recycleItems?: boolean;
|
|
235
235
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
236
236
|
refreshing?: boolean;
|
|
237
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
237
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React.ReactNode) | undefined;
|
|
238
238
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
239
239
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
240
240
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
241
241
|
waitForInitialLayout?: boolean;
|
|
242
|
-
} &
|
|
242
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode) | react_native.Animated.AnimatedComponent<(<T>(props: Omit<react_native.ScrollViewProps, "stickyHeaderIndices" | "contentInset" | "contentOffset" | "maintainVisibleContentPosition"> & {
|
|
243
243
|
alignItemsAtEnd?: boolean;
|
|
244
244
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
245
245
|
data: readonly T[];
|
|
@@ -250,7 +250,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
250
250
|
initialContainerPoolRatio?: number | undefined;
|
|
251
251
|
initialScrollOffset?: number;
|
|
252
252
|
initialScrollIndex?: number;
|
|
253
|
-
ItemSeparatorComponent?:
|
|
253
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
254
254
|
leadingItem: T;
|
|
255
255
|
}> | undefined;
|
|
256
256
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -284,12 +284,12 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
284
284
|
recycleItems?: boolean;
|
|
285
285
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
286
286
|
refreshing?: boolean;
|
|
287
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
287
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React.ReactNode) | undefined;
|
|
288
288
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
289
289
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
290
290
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
291
291
|
waitForInitialLayout?: boolean;
|
|
292
|
-
} &
|
|
292
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode)> = <T>(props: Omit<react_native.ScrollViewProps, "stickyHeaderIndices" | "contentInset" | "contentOffset" | "maintainVisibleContentPosition"> & {
|
|
293
293
|
alignItemsAtEnd?: boolean;
|
|
294
294
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
295
295
|
data: readonly T[];
|
|
@@ -300,7 +300,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
300
300
|
initialContainerPoolRatio?: number | undefined;
|
|
301
301
|
initialScrollOffset?: number;
|
|
302
302
|
initialScrollIndex?: number;
|
|
303
|
-
ItemSeparatorComponent?:
|
|
303
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
304
304
|
leadingItem: T;
|
|
305
305
|
}> | undefined;
|
|
306
306
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -334,12 +334,12 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
334
334
|
recycleItems?: boolean;
|
|
335
335
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
336
336
|
refreshing?: boolean;
|
|
337
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
337
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React.ReactNode) | undefined;
|
|
338
338
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
339
339
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
340
340
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
341
341
|
waitForInitialLayout?: boolean;
|
|
342
|
-
} &
|
|
342
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode>(props: Omit<react_native.ScrollViewProps, "stickyHeaderIndices" | "contentInset" | "contentOffset" | "maintainVisibleContentPosition"> & {
|
|
343
343
|
alignItemsAtEnd?: boolean;
|
|
344
344
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
345
345
|
data: readonly ItemT[];
|
|
@@ -350,7 +350,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
350
350
|
initialContainerPoolRatio?: number | undefined;
|
|
351
351
|
initialScrollOffset?: number;
|
|
352
352
|
initialScrollIndex?: number;
|
|
353
|
-
ItemSeparatorComponent?:
|
|
353
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
354
354
|
leadingItem: ItemT;
|
|
355
355
|
}> | undefined;
|
|
356
356
|
keyExtractor?: ((item: ItemT, index: number) => string) | undefined;
|
|
@@ -384,13 +384,13 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
384
384
|
recycleItems?: boolean;
|
|
385
385
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
386
386
|
refreshing?: boolean;
|
|
387
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT>) =>
|
|
387
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT>) => React.ReactNode) | undefined;
|
|
388
388
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
389
389
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
390
390
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
391
391
|
waitForInitialLayout?: boolean;
|
|
392
392
|
} & {
|
|
393
393
|
LegendList?: ListT;
|
|
394
|
-
} &
|
|
394
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode;
|
|
395
395
|
|
|
396
396
|
export { KeyboardAvoidingLegendList };
|
package/keyboard-controller.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _legendapp_list from '@legendapp/list';
|
|
2
2
|
import { LegendListRef } from '@legendapp/list';
|
|
3
3
|
import * as react_native_reanimated_lib_typescript_layoutReanimation_animationBuilder_Keyframe from 'react-native-reanimated/lib/typescript/layoutReanimation/animationBuilder/Keyframe';
|
|
4
|
-
import * as react from 'react';
|
|
5
4
|
import * as react_native from 'react-native';
|
|
6
5
|
import * as react_native_reanimated from 'react-native-reanimated';
|
|
7
6
|
import * as _legendapp_list_reanimated from '@legendapp/list/reanimated';
|
|
7
|
+
import * as React from 'react';
|
|
8
8
|
|
|
9
9
|
declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props: Omit<_legendapp_list_reanimated.AnimatedLegendListPropsBase<ItemT_1>, "refLegendList"> & {
|
|
10
10
|
getEstimatedItemSize?: ((index: number, item: ItemT_1) => number) | undefined;
|
|
@@ -27,7 +27,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
27
27
|
showsHorizontalScrollIndicator?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
28
28
|
showsVerticalScrollIndicator?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
29
29
|
stickyHeaderHiddenOnScroll?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
30
|
-
refreshControl?:
|
|
30
|
+
refreshControl?: React.ReactElement<react_native.RefreshControlProps, string | React.JSXElementConstructor<any>> | react_native_reanimated.SharedValue<React.ReactElement<react_native.RefreshControlProps, string | React.JSXElementConstructor<any>> | undefined> | undefined;
|
|
31
31
|
snapToInterval?: number | react_native_reanimated.SharedValue<number | undefined> | undefined;
|
|
32
32
|
snapToOffsets?: number[] | react_native_reanimated.SharedValue<number[] | undefined> | undefined;
|
|
33
33
|
snapToStart?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
@@ -35,8 +35,8 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
35
35
|
stickyHeaderIndices?: number[] | react_native_reanimated.SharedValue<number[] | undefined> | undefined;
|
|
36
36
|
disableIntervalMomentum?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
37
37
|
disableScrollViewPanResponder?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
38
|
-
StickyHeaderComponent?:
|
|
39
|
-
children?:
|
|
38
|
+
StickyHeaderComponent?: React.ComponentType<any> | react_native_reanimated.SharedValue<React.ComponentType<any> | undefined> | undefined;
|
|
39
|
+
children?: React.ReactNode | react_native_reanimated.SharedValue<React.ReactNode>;
|
|
40
40
|
hitSlop?: number | react_native.Insets | react_native_reanimated.SharedValue<number | react_native.Insets | null | undefined> | null | undefined;
|
|
41
41
|
id?: string | react_native_reanimated.SharedValue<string | undefined> | undefined;
|
|
42
42
|
needsOffscreenAlphaCompositing?: boolean | react_native_reanimated.SharedValue<boolean | undefined> | undefined;
|
|
@@ -176,7 +176,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
176
176
|
sharedTransitionTag?: string;
|
|
177
177
|
sharedTransitionStyle?: react_native_reanimated.SharedTransition;
|
|
178
178
|
}> | undefined;
|
|
179
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT_1>) =>
|
|
179
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT_1>) => React.ReactNode) | undefined;
|
|
180
180
|
onItemSizeChanged?: ((info: {
|
|
181
181
|
size: number;
|
|
182
182
|
previous: number;
|
|
@@ -184,7 +184,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
184
184
|
itemKey: string;
|
|
185
185
|
itemData: ItemT_1;
|
|
186
186
|
}) => void) | undefined;
|
|
187
|
-
ItemSeparatorComponent?:
|
|
187
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
188
188
|
leadingItem: ItemT_1;
|
|
189
189
|
}> | undefined;
|
|
190
190
|
} & {
|
|
@@ -200,7 +200,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
200
200
|
initialContainerPoolRatio?: number | undefined;
|
|
201
201
|
initialScrollOffset?: number;
|
|
202
202
|
initialScrollIndex?: number;
|
|
203
|
-
ItemSeparatorComponent?:
|
|
203
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
204
204
|
leadingItem: T;
|
|
205
205
|
}> | undefined;
|
|
206
206
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -234,12 +234,12 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
234
234
|
recycleItems?: boolean;
|
|
235
235
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
236
236
|
refreshing?: boolean;
|
|
237
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
237
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React.ReactNode) | undefined;
|
|
238
238
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
239
239
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
240
240
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
241
241
|
waitForInitialLayout?: boolean;
|
|
242
|
-
} &
|
|
242
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode) | react_native.Animated.AnimatedComponent<(<T>(props: Omit<react_native.ScrollViewProps, "stickyHeaderIndices" | "contentInset" | "contentOffset" | "maintainVisibleContentPosition"> & {
|
|
243
243
|
alignItemsAtEnd?: boolean;
|
|
244
244
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
245
245
|
data: readonly T[];
|
|
@@ -250,7 +250,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
250
250
|
initialContainerPoolRatio?: number | undefined;
|
|
251
251
|
initialScrollOffset?: number;
|
|
252
252
|
initialScrollIndex?: number;
|
|
253
|
-
ItemSeparatorComponent?:
|
|
253
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
254
254
|
leadingItem: T;
|
|
255
255
|
}> | undefined;
|
|
256
256
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -284,12 +284,12 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
284
284
|
recycleItems?: boolean;
|
|
285
285
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
286
286
|
refreshing?: boolean;
|
|
287
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
287
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React.ReactNode) | undefined;
|
|
288
288
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
289
289
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
290
290
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
291
291
|
waitForInitialLayout?: boolean;
|
|
292
|
-
} &
|
|
292
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode)> = <T>(props: Omit<react_native.ScrollViewProps, "stickyHeaderIndices" | "contentInset" | "contentOffset" | "maintainVisibleContentPosition"> & {
|
|
293
293
|
alignItemsAtEnd?: boolean;
|
|
294
294
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
295
295
|
data: readonly T[];
|
|
@@ -300,7 +300,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
300
300
|
initialContainerPoolRatio?: number | undefined;
|
|
301
301
|
initialScrollOffset?: number;
|
|
302
302
|
initialScrollIndex?: number;
|
|
303
|
-
ItemSeparatorComponent?:
|
|
303
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
304
304
|
leadingItem: T;
|
|
305
305
|
}> | undefined;
|
|
306
306
|
keyExtractor?: ((item: T, index: number) => string) | undefined;
|
|
@@ -334,12 +334,12 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
334
334
|
recycleItems?: boolean;
|
|
335
335
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
336
336
|
refreshing?: boolean;
|
|
337
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) =>
|
|
337
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<T>) => React.ReactNode) | undefined;
|
|
338
338
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
339
339
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
340
340
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
341
341
|
waitForInitialLayout?: boolean;
|
|
342
|
-
} &
|
|
342
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode>(props: Omit<react_native.ScrollViewProps, "stickyHeaderIndices" | "contentInset" | "contentOffset" | "maintainVisibleContentPosition"> & {
|
|
343
343
|
alignItemsAtEnd?: boolean;
|
|
344
344
|
columnWrapperStyle?: _legendapp_list.ColumnWrapperStyle;
|
|
345
345
|
data: readonly ItemT[];
|
|
@@ -350,7 +350,7 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
350
350
|
initialContainerPoolRatio?: number | undefined;
|
|
351
351
|
initialScrollOffset?: number;
|
|
352
352
|
initialScrollIndex?: number;
|
|
353
|
-
ItemSeparatorComponent?:
|
|
353
|
+
ItemSeparatorComponent?: React.ComponentType<{
|
|
354
354
|
leadingItem: ItemT;
|
|
355
355
|
}> | undefined;
|
|
356
356
|
keyExtractor?: ((item: ItemT, index: number) => string) | undefined;
|
|
@@ -384,13 +384,13 @@ declare const KeyboardAvoidingLegendList: <ItemT, ListT extends (<ItemT_1>(props
|
|
|
384
384
|
recycleItems?: boolean;
|
|
385
385
|
refScrollView?: React.Ref<react_native.ScrollView>;
|
|
386
386
|
refreshing?: boolean;
|
|
387
|
-
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT>) =>
|
|
387
|
+
renderItem?: ((props: _legendapp_list.LegendListRenderItemProps<ItemT>) => React.ReactNode) | undefined;
|
|
388
388
|
renderScrollComponent?: (props: react_native.ScrollViewProps) => React.ReactElement<react_native.ScrollViewProps>;
|
|
389
389
|
viewabilityConfig?: _legendapp_list.ViewabilityConfig;
|
|
390
390
|
viewabilityConfigCallbackPairs?: _legendapp_list.ViewabilityConfigCallbackPairs | undefined;
|
|
391
391
|
waitForInitialLayout?: boolean;
|
|
392
392
|
} & {
|
|
393
393
|
LegendList?: ListT;
|
|
394
|
-
} &
|
|
394
|
+
} & React.RefAttributes<LegendListRef>) => React.ReactNode;
|
|
395
395
|
|
|
396
396
|
export { KeyboardAvoidingLegendList };
|
package/keyboard-controller.js
CHANGED
|
@@ -1,15 +1,35 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var list = require('@legendapp/list');
|
|
4
|
-
var
|
|
4
|
+
var React = require('react');
|
|
5
5
|
var reactNativeKeyboardController = require('react-native-keyboard-controller');
|
|
6
6
|
var reactNativeReanimated = require('react-native-reanimated');
|
|
7
7
|
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n.default = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
8
28
|
// src/keyboard-controller.tsx
|
|
9
|
-
var typedForwardRef =
|
|
29
|
+
var typedForwardRef = React.forwardRef;
|
|
10
30
|
var KeyboardAvoidingLegendList = typedForwardRef(function KeyboardAvoidingLegendList2(props, forwardedRef) {
|
|
11
31
|
const { LegendList: LegendListProp, ...rest } = props;
|
|
12
|
-
const [padding, setPadding] =
|
|
32
|
+
const [padding, setPadding] = React.useState(0);
|
|
13
33
|
const updatePadding = (height) => {
|
|
14
34
|
setPadding(height);
|
|
15
35
|
};
|
|
@@ -20,7 +40,7 @@ var KeyboardAvoidingLegendList = typedForwardRef(function KeyboardAvoidingLegend
|
|
|
20
40
|
}
|
|
21
41
|
});
|
|
22
42
|
const LegendListComponent = LegendListProp != null ? LegendListProp : list.LegendList;
|
|
23
|
-
return /* @__PURE__ */
|
|
43
|
+
return /* @__PURE__ */ React__namespace.createElement(LegendListComponent, { style: { paddingTop: padding }, ...rest, ref: forwardedRef });
|
|
24
44
|
});
|
|
25
45
|
|
|
26
46
|
exports.KeyboardAvoidingLegendList = KeyboardAvoidingLegendList;
|
package/keyboard-controller.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/list",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.40",
|
|
4
4
|
"description": "Legend List aims to be a drop-in replacement for FlatList with much better performance and supporting dynamically sized items.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|
package/reanimated.d.mts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { LegendListPropsBase, LegendListRef } from '@legendapp/list';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { ComponentProps } from 'react';
|
|
3
3
|
import react_native_reanimated__default from 'react-native-reanimated';
|
|
4
4
|
|
|
5
5
|
type KeysToOmit = "getEstimatedItemSize" | "keyExtractor" | "animatedProps" | "renderItem" | "onItemSizeChanged" | "ItemSeparatorComponent";
|
|
6
6
|
type PropsBase<ItemT> = LegendListPropsBase<ItemT, ComponentProps<typeof react_native_reanimated__default.ScrollView>>;
|
|
7
7
|
interface AnimatedLegendListPropsBase<ItemT> extends Omit<PropsBase<ItemT>, KeysToOmit> {
|
|
8
|
-
refScrollView?:
|
|
8
|
+
refScrollView?: React__default.Ref<react_native_reanimated__default.ScrollView>;
|
|
9
9
|
}
|
|
10
10
|
type OtherAnimatedLegendListProps<ItemT> = Pick<PropsBase<ItemT>, KeysToOmit>;
|
|
11
11
|
type AnimatedLegendListProps<ItemT> = Omit<AnimatedLegendListPropsBase<ItemT>, "refLegendList"> & OtherAnimatedLegendListProps<ItemT>;
|
|
12
12
|
type AnimatedLegendListDefinition = <ItemT>(props: Omit<AnimatedLegendListPropsBase<ItemT>, "refLegendList"> & OtherAnimatedLegendListProps<ItemT> & {
|
|
13
|
-
ref?:
|
|
14
|
-
}) =>
|
|
13
|
+
ref?: React__default.Ref<LegendListRef>;
|
|
14
|
+
}) => React__default.ReactElement | null;
|
|
15
15
|
declare const AnimatedLegendList: AnimatedLegendListDefinition;
|
|
16
16
|
|
|
17
17
|
export { AnimatedLegendList, type AnimatedLegendListProps, type AnimatedLegendListPropsBase };
|
package/reanimated.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { LegendListPropsBase, LegendListRef } from '@legendapp/list';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { ComponentProps } from 'react';
|
|
3
3
|
import react_native_reanimated__default from 'react-native-reanimated';
|
|
4
4
|
|
|
5
5
|
type KeysToOmit = "getEstimatedItemSize" | "keyExtractor" | "animatedProps" | "renderItem" | "onItemSizeChanged" | "ItemSeparatorComponent";
|
|
6
6
|
type PropsBase<ItemT> = LegendListPropsBase<ItemT, ComponentProps<typeof react_native_reanimated__default.ScrollView>>;
|
|
7
7
|
interface AnimatedLegendListPropsBase<ItemT> extends Omit<PropsBase<ItemT>, KeysToOmit> {
|
|
8
|
-
refScrollView?:
|
|
8
|
+
refScrollView?: React__default.Ref<react_native_reanimated__default.ScrollView>;
|
|
9
9
|
}
|
|
10
10
|
type OtherAnimatedLegendListProps<ItemT> = Pick<PropsBase<ItemT>, KeysToOmit>;
|
|
11
11
|
type AnimatedLegendListProps<ItemT> = Omit<AnimatedLegendListPropsBase<ItemT>, "refLegendList"> & OtherAnimatedLegendListProps<ItemT>;
|
|
12
12
|
type AnimatedLegendListDefinition = <ItemT>(props: Omit<AnimatedLegendListPropsBase<ItemT>, "refLegendList"> & OtherAnimatedLegendListProps<ItemT> & {
|
|
13
|
-
ref?:
|
|
14
|
-
}) =>
|
|
13
|
+
ref?: React__default.Ref<LegendListRef>;
|
|
14
|
+
}) => React__default.ReactElement | null;
|
|
15
15
|
declare const AnimatedLegendList: AnimatedLegendListDefinition;
|
|
16
16
|
|
|
17
17
|
export { AnimatedLegendList, type AnimatedLegendListProps, type AnimatedLegendListPropsBase };
|