UNPKG

@replyke/core

Version:

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

12 lines (11 loc) 482 B
import { Reaction, ReactionType } from "../../interfaces/models/Reaction"; import { PaginatedResponse } from "../../interfaces/PaginatedResponse"; export interface FetchCommentReactionsProps { commentId: string; page: number; limit?: number; reactionType?: ReactionType; sortDir?: "asc" | "desc"; } declare function useFetchCommentReactions(): (props: FetchCommentReactionsProps) => Promise<PaginatedResponse<Reaction>>; export default useFetchCommentReactions;