"use strict";

import React from 'react';
import { CustomSystemMessage } from '../styled/StyledComponents';
import styled from 'styled-components/native';
import { jsx as _jsx } from "react/jsx-runtime";
export const CustomSystemMessageText = styled.Text`
  margin: 0;
  color: ${props => props.primary || '#0052cd'};
  border-radius: 118px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  background-color: ${props => props.secondary || '#e7edf9'};
  height: 24px;
  white-space: nowrap;
`;
const SystemMessage = ({
  messageText,
  colors
}) => {
  return /*#__PURE__*/_jsx(CustomSystemMessage, {
    children: /*#__PURE__*/_jsx(CustomSystemMessageText, {
      ...colors,
      children: messageText
    })
  });
};
export default SystemMessage;
//# sourceMappingURL=SystemMessage.js.map