react-router-external

1.0.2 • Public • Published

react-router-external

npm npm

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 />

Readme

Keywords

none

Package Sidebar

Install

npm i react-router-external

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

1.71 kB

Total Files

3

Last publish

Collaborators

  • wille