@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
19 lines (18 loc) • 677 B
TypeScript
import { FC, ReactElement, ReactNode } from 'react';
import { RecommendedWallet, WalletOption } from '../../../shared';
export type WalletListItemTileProps = {
leading: ReactNode;
name: string;
onClick: () => void;
trailing: ReactNode;
};
export type WalletListItemTile = (props: WalletListItemTileProps) => ReactElement;
export type WalletListItemProps = {
onResetSearchValue?: (newSearchValue: string) => void;
tile?: WalletListItemTile;
wallet: WalletOption;
disabled?: boolean;
recommendedWallets?: RecommendedWallet[];
onSelectWallet: (wallet: WalletOption) => void;
};
export declare const WalletListItem: FC<WalletListItemProps>;