@hhgtech/hhg-components
Version:
Hello Health Group common components
34 lines (33 loc) • 988 B
TypeScript
import React from 'react';
import { LocaleType } from "../../../../interfaces/types";
export type Specialy = {
id: string;
name: string;
slug: string;
thumbnail?: string;
};
export type HospitalInfo = {
name: string;
about?: string;
specialties?: Array<Specialy>;
logo?: string;
address?: string;
city_id?: number;
total_available_doctor?: number;
total_available_service?: number;
slug: string;
id: number;
};
export type Props = {
isOpen: boolean;
onClose: () => void;
enableAnimation?: boolean;
hospitalId: string;
locale?: LocaleType;
isMobile?: boolean;
overwriteProfileProps?: HospitalInfo;
avatarFallback?: string;
trackingCategory?: string;
};
declare const PopupHospital: ({ isOpen, onClose, enableAnimation, hospitalId, locale, isMobile, overwriteProfileProps, avatarFallback, trackingCategory, }: Props) => React.JSX.Element;
export { PopupHospital };