@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
9 lines (8 loc) • 348 B
TypeScript
import { Entity } from "../../interfaces/models/Entity";
import { Comment } from "../../interfaces/models/Comment";
export interface RemoveReactionProps {
targetType: "entity" | "comment";
targetId: string;
}
declare function useRemoveReaction(): (props: RemoveReactionProps) => Promise<Entity | Comment>;
export default useRemoveReaction;