@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
17 lines (16 loc) • 720 B
TypeScript
import React from 'react';
import type { WithdrawalMethodOption } from '../../providers/FunkitCheckoutContext/types';
interface WithdrawalTypeSelectProps {
/** Section label shown above the list (e.g. "Crypto"). */
sectionTitle?: string;
methods: WithdrawalMethodOption[];
onMethodSelect: (method: WithdrawalMethodOption) => void;
}
/**
* Selection screen shown before the standard withdrawal flow for
* multi-method withdrawal configs (e.g. Lighter Fast vs. Secure).
*
* Each option renders as a large bordered card with icon, title, and subtitle.
*/
export declare function WithdrawalTypeSelect({ sectionTitle, methods, onMethodSelect, }: WithdrawalTypeSelectProps): React.JSX.Element;
export {};