1 | import React from 'react';
|
2 | import type { FlatListProps } from 'react-native';
|
3 | import { FlatList } from 'react-native';
|
4 | import type { ILayoutAnimationBuilder } from '../layoutReanimation/animationBuilder/commonTypes';
|
5 | import type { AnimatedProps } from '../helperTypes';
|
6 | declare const AnimatedFlatList: React.ComponentClass<import("../helperTypes").AnimateProps<FlatListProps<unknown>>, any>;
|
7 | interface ReanimatedFlatListPropsWithLayout<T> extends AnimatedProps<FlatListProps<T>> {
|
8 | |
9 |
|
10 |
|
11 |
|
12 |
|
13 | itemLayoutAnimation?: ILayoutAnimationBuilder;
|
14 | |
15 |
|
16 |
|
17 |
|
18 | skipEnteringExitingAnimations?: boolean;
|
19 |
|
20 | CellRendererComponent?: never;
|
21 | }
|
22 | export type FlatListPropsWithLayout<T> = ReanimatedFlatListPropsWithLayout<T>;
|
23 | interface AnimatedFlatListComplement<T> extends FlatList<T> {
|
24 | getNode(): FlatList<T>;
|
25 | }
|
26 | export declare const ReanimatedFlatList: <ItemT = any>(props: ReanimatedFlatListPropsWithLayout<ItemT> & {
|
27 | ref?: React.ForwardedRef<FlatList<any>> | undefined;
|
28 | }) => React.ReactElement;
|
29 | export type ReanimatedFlatList<T> = typeof AnimatedFlatList & AnimatedFlatListComplement<T>;
|
30 | export {};
|
31 |
|
\ | No newline at end of file |