@hhgtech/hhg-components
Version:
Hello Health Group common components
30 lines (29 loc) • 850 B
TypeScript
import React from 'react';
export type Experience = {
title: string;
organization: string;
duration: string;
};
export type ExpertInfo = {
avatar?: string;
role?: string;
display_name: string;
specialty: string;
organisation: string;
experiences: Array<Experience>;
organisation_url: string;
profile_url: string;
user_id: number;
};
export type Props = {
trackingCategory?: string;
locale?: string;
isOpen: boolean;
onClose: () => void;
enableAnimation?: boolean;
expertId: string;
overwriteProfileProps?: ExpertInfo;
avatarFallback?: string;
};
declare const PopupExpert: ({ trackingCategory, locale, isOpen, onClose, enableAnimation, expertId, overwriteProfileProps, avatarFallback, }: Props) => React.JSX.Element;
export { PopupExpert };