"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _react = require("react");
var _enums = require("../../../../../enums");
var _useConfig = _interopRequireDefault(require("../../../../../hooks/useConfig"));
var _hooks = require("../../../../../hooks");
var _styles = require("./styles/styles");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Description = () => {
  const {
    excludes
  } = (0, _useConfig.default)();
  const styles = (0, _styles.useStyles)();
  const title = (0, _hooks.useUiKitConfig)({
    keys: ['text'],
    page: _enums.PageID.social_home_page,
    component: _enums.ComponentID.empty_newsfeed,
    element: _enums.ElementID.description
  });
  if (excludes.includes('social_home_page/empty_newsfeed/description')) return null;
  return /*#__PURE__*/React.createElement(_reactNative.Text, {
    style: styles.description
  }, title[0]);
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(Description);
//# sourceMappingURL=Description.js.map