@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
18 lines (17 loc) • 610 B
TypeScript
import React from 'react';
type CopyLabel = 'address' | 'invoice';
interface CopyInputDisplayedAddressProps {
address: string;
onAddressCopied?: () => void;
truncateAddress?: boolean;
/**
* Word rendered after "Copy" in the button label. EN variant char-animates
* the raw word; i18n variant maps to `common.copyAddress` / `common.copyInvoice`.
*/
label?: CopyLabel;
}
/**
* Main exported component that conditionally renders English or i18n version
*/
export declare function CopyInputDisplayedAddress(props: CopyInputDisplayedAddressProps): React.JSX.Element;
export {};