Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// Android Router
import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
// iOS Router
import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
import * as Routing from 'react-router-native';
export default Routing;
export const Router = Routing.NativeRouter;
}},{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;