UNPKG

@replyke/core

Version:

Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.

14 lines (13 loc) 457 B
import { Comment } from "../../interfaces/models/Comment"; import { CommentsSortByOptions } from "../../interfaces/CommentsSortByOptions"; declare function useReplies({ commentId, sortBy, }: { commentId: string; sortBy: CommentsSortByOptions; }): { replies: Comment[]; newReplies: Comment[]; loading: boolean; page: number; setPage: import("react").Dispatch<import("react").SetStateAction<number>>; }; export default useReplies;