설명 없음

AgoraView.native.js 747B

1234567891011121314151617181920212223
  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. /**
  8. * @class AgoraView
  9. */
  10. class AgoraView extends react_1.default.Component {
  11. render() {
  12. return (react_1.default.createElement(RCTAgoraView, Object.assign({}, this.getHTMLProps())));
  13. }
  14. getHTMLProps() {
  15. let htmlProps = {};
  16. for (let key in this.props) {
  17. htmlProps[key] = this.props[key];
  18. }
  19. return htmlProps;
  20. }
  21. }
  22. exports.default = AgoraView;
  23. //# sourceMappingURL=AgoraView.native.js.map