@ieltsrealtest/ui
Version:
Reusable UI components for IELTS Real Test platform, built with React and TypeScript.
19 lines (18 loc) • 570 B
TypeScript
interface CommentCardProps {
id: string;
avatar?: string | null;
name: string;
comment: string;
threadId: string;
userId: string;
isReplying?: boolean;
onReplyClick?: () => void;
onRefresh: () => void;
role: string;
replied_user: string;
time: Date;
likes: string[];
pin: boolean;
}
export default function CommentCard({ id, avatar, name, comment, threadId, userId, isReplying, onReplyClick, onRefresh, role, replied_user, time, likes, pin }: CommentCardProps): import("react/jsx-runtime").JSX.Element;
export {};