UNPKG

ao-message-signer

Version:

A React component for signing messages with AO Protocol

18 lines (17 loc) 528 B
import React from "react"; export interface AOMessageSignerProps { /** The process ID to send the message to */ processId: string; /** Optional className for the container div */ className?: string; /** Optional custom styles for the container div */ style?: React.CSSProperties; /** Optional theme - 'light' or 'dark' */ theme?: 'light' | 'dark'; } declare global { interface Window { arweaveWallet: any; } } export declare const AOMessageSigner: React.FC<AOMessageSignerProps>;