Package Exports
- react-router-native
- react-router-native/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-router-native) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-router-native
React Native bindings for React Router.
Installation
Using npm:
$ npm install --save react-router-native
Then import
or require
as you would anything else:
// using ES6 modules
import { NativeRouter, Route, Link } from "react-router-native";
// using CommonJS modules
var NativeRouter = require("react-router-native").NativeRouter;
var Route = require("react-router-native").Route;
var Link = require("react-router-native").Link;
Issues
If you find a bug, please file an issue on our issue tracker on GitHub.
Credits
React Router is built and maintained by React Training.