@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
15 lines (14 loc) • 639 B
TypeScript
import React from 'react';
import { type BoxProps } from '../../../components/Box/Box';
import type { PaymentMethodType } from '../../../hooks/usePaymentSources';
interface CryptoCashToggleProps {
activeTab: PaymentMethodType;
disabled?: boolean;
onTabChange: (tab: PaymentMethodType) => void;
marginTop?: BoxProps['marginTop'];
marginBottom?: BoxProps['marginBottom'];
style?: React.CSSProperties;
tabs: PaymentMethodType[];
}
export declare const CryptoCashToggle: ({ activeTab, disabled, onTabChange, marginTop, marginBottom, style, tabs: tabTypes, }: CryptoCashToggleProps) => React.JSX.Element;
export {};