Skip to content

Commit e35bfbc

Browse files
authored
Picker - fix listProps type to be Partial (#2596)
1 parent bdce47e commit e35bfbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/picker/types.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export type PickerBaseProps = Omit<NewTextFieldProps, 'value' | 'onChange'> &
158158
/**
159159
* Pass props to the list component that wraps the picker options (allows to control FlatList behavior)
160160
*/
161-
listProps?: FlatListProps<any>;
161+
listProps?: Partial<FlatListProps<any>>;
162162
/**
163163
* Pass props to the picker modal
164164
*/

0 commit comments

Comments
 (0)