Skip to content

Commit c9c06b1

Browse files
authored
createElement改为unstable_createElement (#27)
适配react-native-web@0.12.0版本,createElement改为unstable_createElement
1 parent 570f9cb commit c9c06b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Qs from 'qs';
22
import React, { Component } from 'react';
3-
import { StyleSheet, View, ActivityIndicator, createElement } from 'react-native';
3+
import { StyleSheet, View, ActivityIndicator, unstable_createElement as createElement } from 'react-native';
44

55
export class WebView extends Component {
66
static defaultProps = {

0 commit comments

Comments
 (0)