nostr-hooks
Version:
React hooks for developing Nostr clients
9 lines (8 loc) • 317 B
TypeScript
import { Nip29GroupReaction } from '../../../types';
export declare const sendGroupReaction: ({ relay, groupId, reaction, onSuccess, onError, }: {
relay: string;
groupId: string;
reaction: Pick<Nip29GroupReaction, "content" | "targetId">;
onSuccess?: () => void;
onError?: () => void;
}) => void;