@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
10 lines (9 loc) • 306 B
TypeScript
import { Comment } from "../../interfaces/models/Comment";
declare function useFetchCommentByForeignId(): ({ foreignId, withParent, }: {
foreignId: string;
withParent?: boolean;
}) => Promise<{
comment: Comment;
parentComment: Comment | null;
}>;
export default useFetchCommentByForeignId;