Docs

TransactionButtonProps

type TransactionButtonProps = React.PropsWithChildren<{
className?: string;
onError?: (error: Error) => void;
onSubmit?: () => void;
onSuccess?: (transactionHash: WaitForReceiptOptions) => void;
style?: React.CSSProperties;
transaction: PreparedTransaction;
}>;