"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = require("react");
var _reactNative = require("react-native");
var _Typography = require("../../../core/components/Typography/Typography");
var _hooks = require("../../hooks");
var _enums = require("../../enums");
const CommunityEmptyTitle = ({
  pageId = _enums.PageID.WildCardPage,
  componentId = _enums.ComponentID.WildCardComponent
}) => {
  const elementId = _enums.ElementID.community_empty_title;
  const {
    themeStyles,
    config
  } = (0, _hooks.useAmityElement)({
    pageId,
    componentId,
    elementId
  });
  const styles = _reactNative.StyleSheet.create({
    title: {
      color: themeStyles === null || themeStyles === void 0 ? void 0 : themeStyles.colors.baseShade3
    }
  });
  return /*#__PURE__*/React.createElement(_Typography.Typography.TitleBold, {
    style: styles.title,
    numberOfLines: 1
  }, (config === null || config === void 0 ? void 0 : config.text) || 'No community yet');
};
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(CommunityEmptyTitle);
//# sourceMappingURL=CommunityEmptyTitle.js.map