@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
13 lines (12 loc) • 578 B
TypeScript
import React from 'react';
export interface BitcoinLightningBannerProps {
/** Navigates into the Bitcoin Lightning flow (Input Amount step). */
onClick: () => void;
}
/**
* Promotional banner whose "Try it now" link drops the user straight into the
* Bitcoin Lightning checkout flow. Purely presentational — the caller decides
* whether to render it (the Transfer Crypto screen gates it on
* `isLightningEnabled` and the user not being geoblocked).
*/
export declare const BitcoinLightningBanner: ({ onClick, }: BitcoinLightningBannerProps) => React.JSX.Element;