@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 720 B
TypeScript
import React, { Dispatch } from 'react';
import { Action, ReducerState } from "../reducer";
import { SearchBarSectionItemApi } from "../../../../interfaces/types";
export type Props = {
type: 'specialties' | 'services' | 'hospitals' | 'doctors';
data: SearchBarSectionItemApi[];
state: ReducerState;
dispatch: Dispatch<Action>;
itemsToShow: number;
itemsToShowDesktop: number;
keyword: string;
isMobile: boolean;
isLoading?: boolean;
isNavResultItem?: boolean;
};
declare const ResultSection: ({ type, data, state, dispatch, itemsToShow, itemsToShowDesktop, isMobile, isLoading, keyword, isNavResultItem, }: Props) => React.JSX.Element;
export { ResultSection };