We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da50d2c + fc3b32f commit 07d60d7Copy full SHA for 07d60d7
1 file changed
index.d.ts
@@ -58,7 +58,7 @@ type CustomTextInputProps = Omit<TextInputProps, 'style' | 'value' | 'ref' | 'ed
58
// 'testID' is also used, but can be overwritten safely
59
60
type CustomPickerProps = Omit<PickerProps, 'onValueChange' | 'selectedValue'> & {
61
- ref?: React.RefObject<Picker>;
+ ref?: React.Ref<Picker>;
62
};
63
// 'style' and 'enabled' are also used, but only in headless or native Android mode
64
0 commit comments