暫無描述

AgoraView.native.js 719B

1234567891011121314151617181920
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const tslib_1 = require("tslib");
  4. const react_1 = tslib_1.__importDefault(require("react"));
  5. const react_native_1 = require("react-native");
  6. const RCTAgoraView = react_native_1.requireNativeComponent("RCTAgoraView");
  7. class AgoraView extends react_1.default.Component {
  8. render() {
  9. return (react_1.default.createElement(RCTAgoraView, Object.assign({}, this.getHTMLProps())));
  10. }
  11. getHTMLProps() {
  12. let htmlProps = {};
  13. for (let key in this.props) {
  14. htmlProps[key] = this.props[key];
  15. }
  16. return htmlProps;
  17. }
  18. }
  19. exports.default = AgoraView;
  20. //# sourceMappingURL=AgoraView.native.js.map