import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
import { EllipsisText } from "..";
const TitleDescription = ({ title, company, isPreviousTitle = false, showTitleReference = true, }) => {
    const titleAndCompanyToShow = title + (company && ` at ${company}`);
    return (_jsxs("div", { className: "companyPeopleTab-CurrentPreviousTitle", children: [showTitleReference && _jsxs("b", { children: [isPreviousTitle ? "Then" : "Now", ":\u00A0"] }), _jsx(EllipsisText, { children: titleAndCompanyToShow })] }));
};
export default TitleDescription;
