@gear-js/wallet-connect
Version:
React library to connect Substrate based wallets to Gear dApps
20 lines (19 loc) • 1.04 kB
TypeScript
import { GearAccountButton, VaraAccountButton } from './account-button';
import { GearWalletButton, VaraWalletButton } from './wallet-button';
import * as Gear from '@gear-js/ui';
import * as Vara from '@gear-js/vara-ui';
declare const UI_CONFIG: {
readonly gear: {
readonly Button: (props: Gear.ButtonProps) => import("react/jsx-runtime").JSX.Element;
readonly AccountButton: typeof GearAccountButton;
readonly WalletButton: typeof GearWalletButton;
readonly Modal: ({ heading, close, children, footer, className, size }: Gear.ModalProps) => import('react').ReactPortal | null;
};
readonly vara: {
readonly Button: (props: Vara.ButtonProps) => import("react/jsx-runtime").JSX.Element;
readonly AccountButton: typeof VaraAccountButton;
readonly WalletButton: typeof VaraWalletButton;
readonly Modal: ({ heading, close, children, className, headerAddon, footer, maxWidth }: Vara.ModalProps) => import('react').ReactPortal | null;
};
};
export { UI_CONFIG };