@hhgtech/hhg-components
Version:
Hello Health Group common components
15 lines (14 loc) • 677 B
TypeScript
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;