@dr.pogodin/react-utils
Version:
Collection of generic ReactJS components and utils
13 lines • 478 B
JavaScript
import { NavLink as RrNavLink } from 'react-router';
import GenericLink from "./GenericLink";
import { jsx as _jsx } from "react/jsx-runtime";
const NavLink = props => /*#__PURE__*/_jsx(GenericLink
// TODO: I guess, we better re-write it to avoid the props spreading,
// but no need to spend time on it right now.
// eslint-disable-next-line react/jsx-props-no-spreading
, {
...props,
routerLinkType: RrNavLink
});
export default NavLink;
//# sourceMappingURL=NavLink.js.map