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 1b9c170 commit 8050af2Copy full SHA for 8050af2
src/components/basic/SectionList/types.ts
@@ -1,14 +1,17 @@
1
import type { StyledProps } from '../../../theme/types';
2
import type { SectionListProps } from 'react-native';
3
import type { CustomProps, PlatformProps } from '../../types';
4
+import type { MutableRefObject } from 'react';
5
type DefaultSectionT = {
6
[key: string]: any;
7
};
8
// TODO: any need to fixed
9
export interface InterfaceSectionListProps<ItemT, sectionT = DefaultSectionT>
10
extends SectionListProps<ItemT, sectionT>,
11
StyledProps,
- PlatformProps<ISectionListProps<ItemT, sectionT>> {}
12
+ PlatformProps<ISectionListProps<ItemT, sectionT>> {
13
+ ref?: MutableRefObject<any>;
14
+}
15
16
export type ISectionListProps<
17
ItemT,
0 commit comments