Skip to content

Commit 28838db

Browse files
authored
Merge pull request #142 from drastus/main
fix: fix type for flatListProps
2 parents 073363e + cb056eb commit 28838db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ export interface IAutocompleteDropdownProps {
7272
ItemSeparatorComponent?: React.ComponentType<any> | null
7373
EmptyResultComponent?: React.ReactElement
7474
emptyResultText?: string
75-
flatListProps?: FlatListProps<any>
75+
flatListProps?: Partial<FlatListProps<AutocompleteDropdownItem>>
7676
ref?: React.LegacyRef<TextInput> | undefined
7777
}

0 commit comments

Comments
 (0)