Skip to content

CommentAuthor

type CommentAuthor = {
avatarUrl?: string;
color?: string;
id: string;
name?: string;
};

Defined in: comments/types.ts:10

Who authored a comment. Only id is required; the rest is display sugar.

PropertyTypeDescriptionDefined in
avatarUrl?string-comments/types.ts:15
color?stringCSS color used for the author’s accent (avatar ring, name).comments/types.ts:14
idstring-comments/types.ts:11
name?string-comments/types.ts:12