diff --git a/AgoraView.js b/AgoraView.js index c94226314..3039a9b83 100644 --- a/AgoraView.js +++ b/AgoraView.js @@ -2,7 +2,8 @@ * Created by DB on 2017/6/23. */ -import React, {Component, PropTypes} from 'react' +import React, {Component} from 'react' +import {PropTypes} from 'prop-types' import { requireNativeComponent, View, @@ -27,4 +28,4 @@ AgoraView.propTypes = { // AgoraView.name = "AgoraView"; -const RCTAgoraView = requireNativeComponent("RCTAgoraView", AgoraView); \ No newline at end of file +const RCTAgoraView = requireNativeComponent("RCTAgoraView", AgoraView);