"use strict";

import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
const SystemMessage = ({
  messageText,
  colors
}) => {
  return /*#__PURE__*/_jsx(View, {
    style: styles.container,
    children: /*#__PURE__*/_jsx(View, {
      style: [styles.bubble, {
        backgroundColor: colors?.secondary || '#e7edf9'
      }],
      children: /*#__PURE__*/_jsx(Text, {
        style: [styles.text, {
          color: colors?.primary || '#0052cd'
        }],
        children: messageText
      })
    })
  });
};
export default SystemMessage;
const styles = StyleSheet.create({
  container: {
    width: '100%',
    alignItems: 'center',
    paddingVertical: 8,
    paddingHorizontal: 16
  },
  bubble: {
    maxWidth: '85%',
    borderRadius: 12,
    paddingVertical: 6,
    paddingHorizontal: 12
  },
  text: {
    fontSize: 12,
    lineHeight: 16,
    fontWeight: '600',
    textAlign: 'center'
  }
});
//# sourceMappingURL=SystemMessage.js.map