"use strict";

exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
var _index = _interopRequireDefault(require("../../atom/image-background/index.native"));
var _templateContext = require("../../template/app-review/template-context");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const styles = _reactNative.StyleSheet.create({
  logo: {
    width: '100%'
  }
});
const BrandLogo = ({
  height
}) => {
  const templateContext = (0, _templateContext.useTemplateContext)();
  const {
    brandTheme
  } = templateContext;
  const imageStyle = {
    ...styles.logo,
    height
  };
  const source = {
    uri: brandTheme.images && brandTheme.images['logo-mobile']
  };
  return /*#__PURE__*/_react.default.createElement(_index.default, {
    style: imageStyle,
    testID: "brand-logo",
    source: source,
    resizeMode: "contain"
  });
};
var _default = exports.default = BrandLogo;
//# sourceMappingURL=index.native.js.map