UNPKG

@cosmos-kit/react

Version:
16 lines (15 loc) 626 B
import { ModalViews, Wallet, WalletListViewProps, WalletViewProps } from '@cosmos-kit/core'; export type ModalViewImpl = { head: React.ReactNode; content: React.ReactNode; }; export type WalletViewImplGetter = (props: WalletViewProps) => ModalViewImpl; export type WalletListImplGetter = (props: WalletListViewProps) => ModalViewImpl; export declare const defaultModalViews: Record<keyof ModalViews, WalletViewImplGetter | WalletListImplGetter>; export declare function getWalletProp(wallet: Wallet): { name: string; prettyName: string; logo: string; mobileDisabled: boolean; isMobile: boolean; };