@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
10 lines (9 loc) • 311 B
TypeScript
import { Comment, CommentIncludeParam } from "../../interfaces/models/Comment";
export interface FetchCommentProps {
commentId: string;
include?: CommentIncludeParam;
}
declare function useFetchComment(): (props: FetchCommentProps) => Promise<{
comment: Comment;
}>;
export default useFetchComment;