@ieltsrealtest/ui
Version:
Reusable UI components for IELTS Real Test platform, built with React and TypeScript.
23 lines (22 loc) • 713 B
TypeScript
type CommentCardVariant = 'main' | 'reply';
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: string;
page?: string;
likes: string[];
pin: boolean;
variant?: CommentCardVariant;
isDev?: Boolean;
}
export default function CommentCard({ id, avatar, name, comment, threadId, page, userId, isReplying, onReplyClick, onRefresh, role, replied_user, time, likes, pin, variant, isDev, }: CommentCardProps): import("react/jsx-runtime").JSX.Element;
export {};