"use strict";

import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
/**
 * Reusable empty state component
 * Provides consistent empty state displays across screens
 */
const EmptyState = ({
  message,
  textColor
}) => {
  return /*#__PURE__*/_jsx(View, {
    style: styles.container,
    children: /*#__PURE__*/_jsx(Text, {
      style: [styles.message, textColor ? {
        color: textColor
      } : undefined],
      children: message
    })
  });
};
const styles = StyleSheet.create({
  container: {
    padding: 40,
    alignItems: 'center',
    justifyContent: 'center'
  },
  message: {
    fontSize: 16,
    textAlign: 'center'
  }
});
export default /*#__PURE__*/React.memo(EmptyState);
//# sourceMappingURL=EmptyState.js.map