"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = require("react");
var _reactNative = require("react-native");
var _useConfigImageUri = require("../../hooks/useConfigImageUri");
var _hooks = require("../../hooks");
var _enums = require("../../enums");
const CommunityEmptyImage = ({
  pageId = _enums.PageID.WildCardPage,
  componentId = _enums.ComponentID.WildCardComponent
}) => {
  const elementId = _enums.ElementID.community_empty_title;
  const {
    themeStyles
  } = (0, _hooks.useAmityElement)({
    pageId,
    componentId,
    elementId
  });
  const styles = _reactNative.StyleSheet.create({
    image: {
      width: 60,
      height: 60,
      tintColor: themeStyles.colors.secondaryShade4
    }
  });
  const emptyListIcon = (0, _useConfigImageUri.useConfigImageUri)({
    configPath: {
      page: pageId,
      component: componentId,
      element: _enums.ElementID.community_empty_image
    },
    configKey: 'icon'
  });
  return /*#__PURE__*/React.createElement(_reactNative.Image, {
    source: emptyListIcon,
    style: styles.image
  });
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(CommunityEmptyImage);
//# sourceMappingURL=CommunityEmptyImage.js.map