@jonasthetours/react-native-graphhopper-mapbox-navigation
Version:
Smart Mapbox turn-by-turn routing based with Graphhopper as the route source.
13 lines (12 loc) • 412 B
JavaScript
import * as React from 'react';
import { requireNativeComponent, StyleSheet } from 'react-native';
const MapboxNavigation = (props) => {
return <RNMapboxNavigation style={styles.container} {...props}/>;
};
const RNMapboxNavigation = requireNativeComponent('MapboxNavigation', MapboxNavigation);
const styles = StyleSheet.create({
container: {
flex: 1,
},
});
export default MapboxNavigation;