import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { CircularIcon, SecondaryButton } from "../..";
import "./style.scss";
const ProfileCard = ({ iconPath = "https://media.licdn.com/dms/image/C5603AQHn7tbH46HwRw/profile-displayphoto-shrink_100_100/0/1651460224714?e=1688601600&v=beta&t=Rp0HL0Q-b3zSydvEhWzj67pxqvi5lIRF-ZlLloVru4o", iconSize = "88", name = "Ethan Brown", designation = "VP Product @ Beyond Meat", universalName, urn, recentCompany, location, onViewProfileButtonClick, onCompanyNameClick, dataCy, }) => {
    return (_jsx("div", { className: "profileCard", children: _jsxs("span", { className: "body-profile-card", children: [_jsx("span", { children: _jsx(CircularIcon, { iconPath: iconPath, iconSize: iconSize, altImageType: "profile" }) }), _jsxs("span", { className: "profile-details-section", children: [_jsx("span", { className: "person-name", onClick: onViewProfileButtonClick, children: name }), _jsxs("span", { className: "designation", children: [`${designation} at `, _jsx("span", { className: "companyName", onClick: () => onCompanyNameClick(universalName, urn), children: recentCompany })] }), _jsx("span", { className: "location", children: location })] }), _jsx("span", { className: "view-profile-button-istcardcolum", children: _jsx(SecondaryButton, { text: "View Full Profile", colorVariant: "orange", onClick: onViewProfileButtonClick, sizeVariant: "sm", "data-cy": `${dataCy}-view-profile` }) })] }) }));
};
export default ProfileCard;
