UNPKG

@hhgtech/hhg-components

Version:
23 lines (22 loc) 1.05 kB
import React, { CSSProperties } from 'react'; import { Comment, Post } from "../../../interfaces/types"; import { Props as CardAuthorProps } from "../../molecules/cardAuthor"; export type Props = { className?: string; style?: CSSProperties; type?: 'comment' | 'reply' | 'most-engaging'; level?: number; replyingId?: string; comment: Comment; onPostCommentSuccess?: (c: Comment) => void; refetchComment?: (c: Comment) => void; post?: Post; onDeleteComment?: () => void; hasQuickBookingEnable?: boolean; handleMakeAppointment?: (doctorId?: string, hospitalId?: string) => void; cardAuthorProps?: CardAuthorProps; maxChars?: number; disableShortenContent?: boolean; }; declare const CardReply: ({ className, style, comment: CommentProps, type, level, replyingId, onPostCommentSuccess, post, onDeleteComment, refetchComment, hasQuickBookingEnable, handleMakeAppointment, cardAuthorProps, maxChars, disableShortenContent, }: Props) => React.JSX.Element; export { CardReply };