1234567891011121314151617181920212223242526272829303132 |
- /**
- * Created by DB on 2017/6/23.
- */
-
- import React, {Component} from 'react'
- import {PropTypes} from 'prop-types'
- import {
- requireNativeComponent,
- View,
- Platform
- } from 'react-native'
-
- export default class AgoraView extends Component {
-
- render() {
- return (
- <RCTAgoraView {...this.props}/>
- )
- }
- }
-
- AgoraView.propTypes = {
- showLocalVideo: PropTypes.bool,
- remoteUid: PropTypes.number,
- zOrderMediaOverlay: PropTypes.bool,
- ...View.propTypes
- };
-
- // AgoraView.name = "AgoraView";
-
- const RCTAgoraView = requireNativeComponent("RCTAgoraView", AgoraView);
|