Skip to content

Commit 34499f1

Browse files
authored
fix: make PickerItemProps accept generic value rather than just ItemValue (#302)
1 parent 50dd3e6 commit 34499f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/Picker.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ declare class Picker<T> extends React.Component<PickerProps<T>, {}> {
113113
*/
114114
static readonly MODE_DROPDOWN: 'dropdown';
115115

116-
static Item: React.ComponentType<PickerItemProps<ItemValue>>;
116+
static Item: React.ComponentType<PickerItemProps<T>>;
117117

118118
/**
119119
* @platform android

0 commit comments

Comments
 (0)