import { jsx as _jsx } from "react/jsx-runtime";
import { Item, A, RRDLink } from "./styled";
const Link = ({ children, secondary, smart, ...props }) => {
    return (_jsx(Item, { className: `ui-header__item ${props.className ?? ""}`, children: !smart ? (
        // @ts-ignore
        _jsx(A, { className: `ui-header__link ${secondary ? "ui-header__link--secondary" : ""}`, as: "a", fontFamily: props.extraBold ? "ExtraBold" : "Bold", ...props, children: children })) : (_jsx(RRDLink, { to: props.href, children: _jsx(A, { className: `ui-header__link ${secondary ? "ui-header__link--secondary" : ""}`, fontFamily: props.extraBold ? "ExtraBold" : "Bold", ...props, children: children }) })) }));
};
export default Link;
//# sourceMappingURL=index.js.map