How to use the react-router-native.NativeRouter function in react-router-native

To help you get started, we’ve selected a few react-router-native examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github spacemeshos / app / src / utils / routing / index.android.tsx View on Github external
// Android Router

import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
github spacemeshos / app / src / utils / routing / index.ios.tsx View on Github external
// iOS Router

import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
github react-everywhere / re-start / templates / re-route / src / utilities / routing / index.android.js View on Github external
import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
github react-everywhere / re-start / templates / re-route / src / utilities / routing / index.ios.js View on Github external
import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
github nitrogenlabs / arkhamjs-native / lib / components / Arkham.js View on Github external
}},{key:'render',value:function render()

{return(
this.state.init?

_react2.default.createElement(_reactRouterNative.NativeRouter,null,
_react2.default.createElement(_reactRouterNative.Switch,null,
this.props.children)):





null);
}}]),b}(_react.Component);Arkham.propTypes={children:_propTypes2.default.element,className:_propTypes2.default.string,config:_propTypes2.default.object,routes:_propTypes2.default.array,stores:_propTypes2.default.array},Arkham.defaultProps={config:{},routes:[],stores:[]},Arkham.childContextTypes={config:_propTypes2.default.object},exports.default=Arkham;

react-router-native

Declarative routing for React Native applications

MIT
Latest version published 10 days ago

Package Health Score

95 / 100
Full package analysis