@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
4 lines (3 loc) • 317 B
TypeScript
import { Comment } from "../interfaces/models/Comment";
import { EntityCommentsTree } from "../interfaces/EntityCommentsTree";
export declare const addCommentsToTree: (setEntityCommentsTree: (value: React.SetStateAction<EntityCommentsTree>) => void, newComments: Comment[] | undefined, newlyAdded?: boolean) => void;