UNPKG

@hhgtech/hhg-components

Version:
17 lines (16 loc) 759 B
import React, { Dispatch } from 'react'; import { City } from "../../../../interfaces/types"; import type { DebouncedFunc } from 'lodash'; import { ReducerState, Action } from "../reducer"; import { GATrackingCode } from "../types"; type Props = { isMobile: boolean; state: ReducerState; dispatch: Dispatch<Action>; debouncedFetchCitiesByKeyword: DebouncedFunc<(keyword: string) => Promise<void>>; selectedLocation?: City | null; trackingAttributes?: GATrackingCode; onLocationClick: (c: City) => void; }; declare const SearchLocation: ({ state, isMobile, debouncedFetchCitiesByKeyword, selectedLocation, trackingAttributes, onLocationClick, dispatch, }: Props) => React.JSX.Element; export default SearchLocation;