説明なし

AgoraView.js 612B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Created by DB on 2017/6/23.
  3. */
  4. import React, {Component} from 'react'
  5. import {PropTypes} from 'prop-types'
  6. import {
  7. requireNativeComponent,
  8. View,
  9. Platform
  10. } from 'react-native'
  11. export default class AgoraView extends Component {
  12. render() {
  13. return (
  14. <RCTAgoraView {...this.props}/>
  15. )
  16. }
  17. }
  18. AgoraView.propTypes = {
  19. showLocalVideo: PropTypes.bool,
  20. remoteUid: PropTypes.number,
  21. zOrderMediaOverlay: PropTypes.bool,
  22. ...View.propTypes
  23. };
  24. // AgoraView.name = "AgoraView";
  25. const RCTAgoraView = requireNativeComponent("RCTAgoraView", AgoraView);