import { jsx as _jsx } from "react/jsx-runtime";
import cn from "classnames";
import { Item, A } from "./styled";
const Link = ({ children, secondary, margin, ...props }) => {
    return (_jsx(Item, { className: cn(`ui-header__item`, { active: props.active }), style: { margin }, children: _jsx(A, { className: `ui-header__link ${secondary ? "ui-header__link--secondary" : ""}`, as: "a", fontFamily: props.extraBold ? "ExtraBold" : "Bold", ...props, children: children }) }));
};
export default Link;
//# sourceMappingURL=index.js.map