All files / src index.ts

100% Statements 13/13
100% Branches 0/0
100% Functions 1/1
100% Lines 12/12

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 184x 1x   1x 1x 1x 1x   1x       1x 1x 1x 1x 1x  
import '@mapbox/search-js-web';
export { config } from '@mapbox/search-js-web';
 
export { AddressAutofill } from './components/AddressAutofill';
export { SearchBox } from './components/SearchBox';
export { Geocoder } from './components/Geocoder';
export { AddressMinimap } from './components/AddressMinimap';
 
export { useEvented } from './hooks/useEvented';
export {
  useAddressAutofillCore,
  useAddressAutofillCore as useMapboxAutofill // alias for backward compatibility
} from './hooks/useAddressAutofillCore';
export { useSearchBoxCore } from './hooks/useSearchBoxCore';
export { useGeocodingCore } from './hooks/useGeocodingCore';
export { useSearchSession } from './hooks/useSearchSession';
export { useConfirmAddress } from './hooks/useConfirmAddress';