Skip to content

CommentThreadCardProps

type CommentThreadCardProps = {
currentUser: CommentAuthor;
formatTime?: (ms) => string;
onClose?: () => void;
onDeleteComment: (commentId) => void;
onEditComment: (commentId, body) => void;
onReopen: () => void;
onReply: (body) => void;
onResolve: () => void;
thread: CommentThread;
};

Defined in: react/src/comments.tsx:209

PropertyTypeDefined in
currentUserCommentAuthorreact/src/comments.tsx:211
formatTime?(ms) => stringreact/src/comments.tsx:218
onClose?() => voidreact/src/comments.tsx:217
onDeleteComment(commentId) => voidreact/src/comments.tsx:214
onEditComment(commentId, body) => voidreact/src/comments.tsx:213
onReopen() => voidreact/src/comments.tsx:216
onReply(body) => voidreact/src/comments.tsx:212
onResolve() => voidreact/src/comments.tsx:215
threadCommentThreadreact/src/comments.tsx:210