UNPKG

@hhgtech/hhg-components

Version:
16 lines (15 loc) 667 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; isCompact?: boolean; }; declare const SearchSpecialty: ({ state, isMobile, onSpecialtyClick, dispatch, isCompact, }: Props) => React.JSX.Element; export default SearchSpecialty;