import Link from "../Link/Link";
import useTranslateValue from "../../Utils/Translation";
import React from "react";
const NavBarMenuItem = (props) => {
    var _a;
    const { translateString } = useTranslateValue();
    const translatedTitle = (_a = translateString(props.title)) !== null && _a !== void 0 ? _a : props.title;
    return (React.createElement(Link, { className: "dropdown-item", to: props.route }, translatedTitle));
};
export default NavBarMenuItem;
//# sourceMappingURL=NavBarMenuSubItem.js.map