We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03b4686 commit 1b9c170Copy full SHA for 1b9c170
src/components/basic/FlatList/types.ts
@@ -1,6 +1,7 @@
1
import type { StyledProps } from '../../../theme/types';
2
import type { FlatListProps } from 'react-native';
3
import type { CustomProps, PlatformProps } from '../../types';
4
+import type { MutableRefObject } from 'react';
5
6
export interface InterfaceFlatListProps<ItemT>
7
extends FlatListProps<ItemT>,
@@ -10,6 +11,8 @@ export interface InterfaceFlatListProps<ItemT>
10
11
* pass props to contentContainerStyle, and this also resolved NB tokens.
12
*/
13
_contentContainerStyle?: Partial<IFlatListProps<ItemT>>;
14
+
15
+ ref?: MutableRefObject<any>;
16
}
17
18
export type IFlatListProps<ItemT> = InterfaceFlatListProps<ItemT> &
0 commit comments