@cosmos-kit/react
Version:
cosmos-kit wallet connector
16 lines (15 loc) • 626 B
TypeScript
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;
};