react-router-external
v1.0.2
Published
react-router Link component with external support
Downloads
4
Readme
react-router-external
react-router-dom
<Link />
and <NavLink />
wrapper which transforms into a native HTML <a />
tag on absolute URLs
Usage
const Link = require('react-router-external').Link;
<Link to="https://google.com" /> // <a />
<Link to="/path" /> // react router <Link />