@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
21 lines (20 loc) • 876 B
TypeScript
import React from 'react';
import { type FunIconButtonProps } from './FunIconButton';
interface FunRedirectButtonProps extends Omit<FunIconButtonProps, 'icon'> {
icon?: React.ReactNode;
to: string;
}
export declare const FunRedirectButton: ({ to, size, paddingX, paddingY, icon, ...buttonProps }: FunRedirectButtonProps) => React.JSX.Element;
interface AddressRedirectButtonProps {
chainId: string;
address: string;
customRedirectUrl?: string;
}
export declare const AddressRedirectButton: ({ chainId, address, customRedirectUrl, }: AddressRedirectButtonProps) => React.JSX.Element;
interface TransactionRedirectButtonProps {
chainId: string;
txHash: string;
customRedirectUrl?: string;
}
export declare const TransactionRedirectButton: ({ chainId, txHash, customRedirectUrl, }: TransactionRedirectButtonProps) => React.JSX.Element;
export {};