Skip to content

Commit 03c36e7

Browse files
authored
Adds object as a type on type ItemValue (#591)
1 parent 677bc9b commit 03c36e7

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
@@ -9,7 +9,7 @@ import type {
99
} from 'react-native';
1010
import { processColor } from 'react-native';
1111

12-
export type ItemValue = number | string;
12+
export type ItemValue = number | string | object;
1313

1414
export interface PickerItemProps<T = ItemValue> {
1515
label?: string;

0 commit comments

Comments
 (0)