@dr.pogodin/react-utils
Version:
Collection of generic ReactJS components and utils
5 lines • 458 B
JavaScript
import{NavLink as RrNavLink}from"react-router";import GenericLink from"./GenericLink/index.js";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