"use strict";

import React from 'react';
import styled from 'styled-components/native';
import { Line } from './StyledComponents';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
const Container = styled.View`
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: transparent;
  gap: 16px;
`;
export const StyledDateLabel = 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 TreadLabel = ({
  reply,
  colors
}) => {
  return /*#__PURE__*/_jsxs(Container, {
    children: [/*#__PURE__*/_jsx(Line, {}), /*#__PURE__*/_jsxs(StyledDateLabel, {
      ...colors,
      children: [reply, " ", reply > 1 ? 'replies' : 'reply']
    }), /*#__PURE__*/_jsx(Line, {})]
  });
};
export default TreadLabel;
//# sourceMappingURL=TreadLabel.js.map