"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = exports.StyledDateLabel = void 0;
var _react = _interopRequireDefault(require("react"));
var _native = _interopRequireDefault(require("styled-components/native"));
var _StyledComponents = require("./StyledComponents");
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const Container = _native.default.View`
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: transparent;
  gap: 16px;
`;
const StyledDateLabel = exports.StyledDateLabel = _native.default.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 TreadLabel = ({
  reply,
  colors
}) => {
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Container, {
    children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_StyledComponents.Line, {}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(StyledDateLabel, {
      ...colors,
      children: [reply, " ", reply > 1 ? 'replies' : 'reply']
    }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_StyledComponents.Line, {})]
  });
};
var _default = exports.default = TreadLabel;
//# sourceMappingURL=TreadLabel.js.map