UNPKG

@gear-js/wallet-connect

Version:

React library to connect Substrate based wallets to Gear dApps

24 lines (23 loc) 1.09 kB
import { FunctionComponent, ReactNode, SVGProps } from 'react'; type Props = { children: ReactNode; disabled: boolean; onClick: () => void; }; type WalletProps = { SVG: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string | undefined; }>; name: string; }; declare function VaraWalletButton({ children, SVG, name, ...props }: Props & WalletProps): import("react/jsx-runtime").JSX.Element; declare namespace VaraWalletButton { var Change: typeof VaraWalletButtonChange; } declare function GearWalletButton({ children, SVG, name, ...props }: Props & WalletProps): import("react/jsx-runtime").JSX.Element; declare namespace GearWalletButton { var Change: typeof GearWalletButtonChange; } declare function VaraWalletButtonChange({ SVG, name, children, ...props }: Omit<Props, 'disabled'> & WalletProps): import("react/jsx-runtime").JSX.Element; declare function GearWalletButtonChange({ SVG, name, children, ...props }: Omit<Props, 'disabled'> & WalletProps): import("react/jsx-runtime").JSX.Element; export { VaraWalletButton, GearWalletButton };