UNPKG

@daimo/pay

Version:

Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.

9 lines (8 loc) 311 B
import { useConnectCallbackProps } from "./useConnectCallback"; type UseModalProps = {} & useConnectCallbackProps; /** Opens and closes the payment modal. */ export declare const useModal: ({ onConnect, onDisconnect }?: UseModalProps) => { open: boolean; setOpen: (show: boolean) => void; }; export {};