"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _react = require("react");
var _styles = require("./styles");
var _Elements = require("./Elements");
var _enums = require("../../../../enums");
var _hooks = require("../../../../hooks");
const AmityEmptyNewsFeedComponent = ({
  onPressExploreCommunity,
  pageId = _enums.PageID.WildCardPage
}) => {
  const styles = (0, _styles.useStyles)();
  const componentId = _enums.ComponentID.empty_newsfeed;
  const {
    accessibilityId,
    isExcluded
  } = (0, _hooks.useAmityComponent)({
    pageId,
    componentId
  });
  if (isExcluded) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.container,
    testID: accessibilityId,
    accessibilityLabel: accessibilityId
  }, /*#__PURE__*/React.createElement(_Elements.Illustration, null), /*#__PURE__*/React.createElement(_Elements.Title, null), /*#__PURE__*/React.createElement(_Elements.Description, null), /*#__PURE__*/React.createElement(_Elements.ExploreCommunityButton, {
    onPressExploreCommunity: onPressExploreCommunity
  }), /*#__PURE__*/React.createElement(_Elements.CreateCommunityButton, null)));
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(AmityEmptyNewsFeedComponent);
//# sourceMappingURL=EmptyNewsFeed.js.map