UNPKG

@hhgtech/hhg-components

Version:
15 lines (14 loc) 677 B
import React, { Dispatch } from 'react'; import { City, Specialty } from "../../../../interfaces/types"; import type { DebouncedFunc } from 'lodash'; import { ReducerState, Action } from "../reducer"; type Props = { isMobile: boolean; state: ReducerState; dispatch: Dispatch<Action>; debouncedFetchSearchResults: DebouncedFunc<(keyword: string) => Promise<void>>; selectedLocation?: City | null; onSpecialtyClick: (specialty: Specialty) => void; }; declare const SearchSpecialty: ({ state, isMobile, debouncedFetchSearchResults, selectedLocation, onSpecialtyClick, dispatch, }: Props) => React.JSX.Element; export default SearchSpecialty;