// Metro module 338 (f339). import _classCallCheck from "./_classCallCheck"; import _createClass from "./_createClass"; import _possibleConstructorReturn from "./_possibleConstructorReturn"; import _getPrototypeOf from "./_getPrototypeOf"; import _inherits from "./_inherits"; import { Component } from "react"; import flattenStyle from "./flattenStyle"; import View from "./View"; import Image2 from "./Image"; import Module254 from "./Module254"; let _excluded; let ImageBackground; let env351 = {}; env351[9] = function _isNativeReflectConstruct() { let c12253_0; try { c12253_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); } catch ($e) {} const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() { return !!c12253_0; }; env351[9] = _isNativeReflectConstruct2; return _isNativeReflectConstruct2(); }; _excluded = ["children", "style", "imageStyle", "imageRef", "importantForAccessibility"]; ImageBackground = function ImageBackground(...args) { _classCallCheck(this, ImageBackground); const r10 = [...args]; const r9 = _getPrototypeOf(ImageBackground); const r27 = _possibleConstructorReturn(this, (0, env351[9])() ? Reflect.construct(r9, r10, _getPrototypeOf(this).constructor) : r9.apply(this, r10)); r27._viewRef = null; r27._captureRef = (a0) => { this._viewRef = a0; }; return r27; }; _inherits(ImageBackground, Component); export default _createClass(ImageBackground, [{ key: "setNativeProps", value: function setNativeProps(a0) { const _viewRef = this._viewRef; if (_viewRef) { _viewRef.setNativeProps(a0); } } }, { key: "render", value: function render() { const props = this.props; const { children, style, imageStyle, imageRef, importantForAccessibility, ...rest } = props; const r15 = flattenStyle(style); return {children} ; } }]);