@hhgtech/hhg-components
Version:
Hello Health Group common components
29 lines (28 loc) • 843 B
TypeScript
import React from 'react';
type StringOrArray = string | string[];
export type DoctorExpertiseType = {
id: string;
name: string;
specialty: string;
experience: string;
profileImage: string;
clinics?: StringOrArray;
educations?: StringOrArray;
expertise?: StringOrArray;
otherHighlights?: StringOrArray;
};
export type DoctorExpertiseProps = {
doctorInformation: DoctorExpertiseType;
onClickReadMore?: () => void;
className?: string;
style?: React.CSSProperties;
children?: React.ReactNode;
isShowReadMoreButton?: boolean;
defaultProfileImage?: string;
};
declare const DoctorExpertise: {
(props: DoctorExpertiseProps): React.JSX.Element;
Expertise(): React.JSX.Element;
OtherHighlights(): React.JSX.Element;
};
export { DoctorExpertise };