const createMapControl = async () => {
//Set useDefaultMapsIndoorsStyle to false when creating the MPMapConfig
let config = new MPMapConfig({useDefaultMapsIndoorsStyle: false});
const mc = await MapControl.create(config, NativeEventEmitter);
}
//Set the MapboxMapStyle when creating the view
<MapView
style={{
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
}}
mapboxMapStyle={'URI_TO_YOUR_CUSTOM_STYLE'}
/>