Skip to content

Commit

Permalink
Update AgoraView.js
Browse files Browse the repository at this point in the history
更新适应RN0.40+
  • Loading branch information
xuepx authored Nov 20, 2017
1 parent e0466e3 commit 57d3762
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AgoraView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -27,4 +28,4 @@ AgoraView.propTypes = {

// AgoraView.name = "AgoraView";

const RCTAgoraView = requireNativeComponent("RCTAgoraView", AgoraView);
const RCTAgoraView = requireNativeComponent("RCTAgoraView", AgoraView);

0 comments on commit 57d3762

Please sign in to comment.