CupThread React Native & Expo SDK - v0.1.0
    Preparing search index...

    Interface CommentDraft

    Draft payload for posting a new comment or reply in a discussion thread.

    const commentDraft: CommentDraft = {
    body: 'This would also be super useful for iPad Split View!',
    authorName: 'Alex',
    };
    interface CommentDraft {
        authorAvatarUrl?: string;
        authorEmail?: string;
        authorName?: string;
        body: string;
        parentId?: string;
        replyToAuthorName?: string;
        replyToClerkId?: string;
    }
    Index
    authorAvatarUrl?: string

    Optional author avatar image URL.

    authorEmail?: string

    Optional author email address.

    authorName?: string

    Optional author display name.

    body: string

    Comment body text (supports markdown).

    parentId?: string

    Parent comment ID if replying in a thread.

    replyToAuthorName?: string

    Display name of the person being replied to.

    replyToClerkId?: string

    Clerk user ID of the person being replied to.