We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28849c8 commit e996f62Copy full SHA for e996f62
js/Picker.web.js
@@ -6,7 +6,7 @@
6
*/
7
8
import * as React from 'react';
9
-import * as ReactNativeWeb from 'react-native-web';
+import {unstable_createElement} from 'react-native-web';
10
import {forwardRef} from 'react';
11
import type {ViewProps} from 'react-native-web/src/exports/View/types';
12
import type {GenericStyleProp} from 'react-native-web/src/types';
@@ -31,7 +31,7 @@ type PickerProps = {
31
};
32
33
const Select = forwardRef((props: any, forwardedRef) =>
34
- ReactNativeWeb.unstable_createElement('select', {
+ unstable_createElement('select', {
35
...props,
36
ref: forwardedRef,
37
}),
0 commit comments