All files / src index.ts

100% Statements 11/11
100% Branches 0/0
100% Functions 1/1
100% Lines 10/10

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 1620x 4x   4x 4x 4x   4x       4x 4x 4x 4x  
import '@mapbox/search-js-web';
export { config } from '@mapbox/search-js-web';
 
export { AddressAutofill } from './components/AddressAutofill';
export { SearchBox } from './components/SearchBox';
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 { useSearchSession } from './hooks/useSearchSession';
export { useConfirmAddress } from './hooks/useConfirmAddress';