@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
14 lines (13 loc) • 804 B
TypeScript
export declare function useCheckoutQuoteNotification(): {
quoteNotification: {
readonly messageType: "error";
readonly quoteMessage: string | number | bigint | true | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").ReactPortal | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined>;
} | {
readonly messageType: "step";
readonly quoteMessage: string;
} | {
readonly messageType: "none";
readonly quoteMessage: undefined;
};
clearCheckoutQuoteMessages: () => void;
};