Skip to content

Commit 21f5fb3

Browse files
committed
fix: flatlist typing
1 parent a8e7c7b commit 21f5fb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/basic/FlatList/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export interface IFlatListProps<ItemT>
99
/**
1010
* pass props to contentContainerStyle, and this also resolved NB tokens.
1111
*/
12-
_contentContainerStyle?: IFlatListProps<ItemT>;
12+
_contentContainerStyle?: Partial<IFlatListProps<ItemT>>;
1313
}

src/components/basic/ScrollView/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export interface IScrollViewProps
1212
/**
1313
* pass props to contentContainerStyle, and this also resolved NB tokens.
1414
*/
15-
_contentContainerStyle?: IScrollViewProps;
15+
_contentContainerStyle?: Partial<IScrollViewProps>;
1616
}

0 commit comments

Comments
 (0)