import { View } from 'react-native';
import { memo } from 'react';
import { useStyles } from './styles';
import { Illustration, Title, Description, ExploreCommunityButton, CreateCommunityButton } from './Elements';
import { ComponentID, PageID } from '../../../../enums';
import { useAmityComponent } from '../../../../hooks';
const AmityEmptyNewsFeedComponent = ({
  onPressExploreCommunity,
  pageId = PageID.WildCardPage
}) => {
  const styles = useStyles();
  const componentId = ComponentID.empty_newsfeed;
  const {
    accessibilityId,
    isExcluded
  } = useAmityComponent({
    pageId,
    componentId
  });
  if (isExcluded) return null;
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
    style: styles.container,
    testID: accessibilityId,
    accessibilityLabel: accessibilityId
  }, /*#__PURE__*/React.createElement(Illustration, null), /*#__PURE__*/React.createElement(Title, null), /*#__PURE__*/React.createElement(Description, null), /*#__PURE__*/React.createElement(ExploreCommunityButton, {
    onPressExploreCommunity: onPressExploreCommunity
  }), /*#__PURE__*/React.createElement(CreateCommunityButton, null)));
};
export default /*#__PURE__*/memo(AmityEmptyNewsFeedComponent);
//# sourceMappingURL=EmptyNewsFeed.js.map