@hhgtech/hhg-components
Version:
Hello Health Group common components
20 lines (19 loc) • 730 B
TypeScript
import React, { CSSProperties } from 'react';
import { Comment, Post, UserInfo } from "../../../interfaces/types";
export type Props = {
className?: string;
onClose?: () => void;
replyToName?: string;
replyToUrl?: string;
replyingId?: string;
replyingUser?: UserInfo;
replyingUserExpertId?: string;
style?: CSSProperties;
onPostSuccess?: (c: Comment) => void;
isMainCmt?: boolean;
post?: Post;
isReply?: boolean;
isMarryBaby?: boolean;
};
declare const InputCommentBar: ({ isReply, className, onClose, replyToName, style, replyingId, replyingUser, onPostSuccess, post, isMarryBaby: isMarryBabyProp, }: Props) => React.JSX.Element;
export { InputCommentBar };