"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
/**
 * Reusable empty state component
 * Provides consistent empty state displays across screens
 */
const EmptyState = ({
  message,
  textColor
}) => {
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
    style: styles.container,
    children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
      style: [styles.message, textColor ? {
        color: textColor
      } : undefined],
      children: message
    })
  });
};
const styles = _reactNative.StyleSheet.create({
  container: {
    padding: 40,
    alignItems: 'center',
    justifyContent: 'center'
  },
  message: {
    fontSize: 16,
    textAlign: 'center'
  }
});
var _default = exports.default = /*#__PURE__*/_react.default.memo(EmptyState);
//# sourceMappingURL=EmptyState.js.map