UNPKG

@hhgtech/hhg-components

Version:
38 lines (37 loc) 1.02 kB
import React, { CSSProperties } from 'react'; export type ArticleDetailCardType = { article: { image?: string; defaultImage?: string; articleType: string; articleTitle: string; articleTypeColor?: string; }; doctor: { doctorName: string; doctorAvatar?: string; defaultDoctorAvatar?: string; }; }; export type ArticleDetailCardProps = { article: { id?: string | number; image?: string; defaultImage?: string; articleType: string; articleTitle: string; articleTypeColor?: string; }; doctor: { id?: string | number; doctorName: string; doctorAvatar?: string; defaultDoctorAvatar?: string; }; handleClick?: () => void; className?: string; style?: CSSProperties; altText?: string; }; declare const ArticleDetailCard: (props: ArticleDetailCardProps) => React.JSX.Element; export { ArticleDetailCard };