import { Image } from 'react-native';
import { memo } from 'react';
import { useConfigImageUri } from '../../../../../hooks';
import { ComponentID, ElementID, PageID } from '../../../../../enums';
import useConfig from '../../../../../hooks/useConfig';
import { useStyles } from './styles/styles';
const Illustration = () => {
  const {
    excludes
  } = useConfig();
  const styles = useStyles();
  const illustrationIcon = useConfigImageUri({
    configKey: 'icon',
    configPath: {
      page: PageID.social_home_page,
      component: ComponentID.empty_newsfeed,
      element: ElementID.illustration
    }
  });
  if (excludes.includes('social_home_page/empty_newsfeed/illustration')) return null;
  return /*#__PURE__*/React.createElement(Image, {
    source: illustrationIcon,
    style: styles.icon,
    resizeMode: "contain"
  });
};
export default /*#__PURE__*/memo(Illustration);
//# sourceMappingURL=Illustration.js.map