We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e41c3ef commit 948fd2eCopy full SHA for 948fd2e
examples/mapbox/geocoder/src/geocoder-control.tsx
@@ -3,6 +3,8 @@ import {useState} from 'react';
3
import {useControl, Marker, MarkerProps, ControlPosition} from 'react-map-gl/mapbox';
4
import MapboxGeocoder, {GeocoderOptions} from '@mapbox/mapbox-gl-geocoder';
5
6
+import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css';
7
+
8
type GeocoderControlProps = Omit<GeocoderOptions, 'accessToken' | 'mapboxgl' | 'marker'> & {
9
mapboxAccessToken: string;
10
marker?: boolean | Omit<MarkerProps, 'longitude' | 'latitude'>;
0 commit comments