import Icon from "../../Icon/Icon";
import Link from "../../Link/Link";
import React from "react";
const UserProfile = (props) => {
    return (React.createElement(Link, { to: props.route, onClick: props.onClick, className: "dropdown-item flex" },
        props.badge ? (React.createElement("span", { className: "badge bg-success float-end" }, props.badge)) : (React.createElement(React.Fragment, null)),
        React.createElement(Icon, { icon: props.icon, color: props.iconColor ? props.iconColor : null }),
        React.createElement("div", { style: {
                marginTop: "1px",
            } },
            "\u00A0\u00A0",
            props.title,
            "\u00A0\u00A0\u00A0\u00A0")));
};
export default UserProfile;
//# sourceMappingURL=UserProfileMenuItem.js.map