UNPKG

@replyke/core

Version:

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

11 lines (10 loc) 388 B
import { Comment as CommentType, GifData } from "../../interfaces/models/Comment"; import { Mention } from "../../interfaces/models/Mention"; declare function useCreateComment(): (props: { entityId: string; parentCommentId?: string | null | undefined; content?: string; gif?: GifData; mentions?: Mention[]; }) => Promise<CommentType>; export default useCreateComment;