@pushchain/ui-kit
Version:
Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.
24 lines (23 loc) • 1.03 kB
TypeScript
import React, { FC } from 'react';
import { PushUI } from '../../constants';
import { ModalAppDetails, ProviderConfigProps, UniversalAccount } from '../../types';
type LoginModalProps = {
iframeRef: React.MutableRefObject<HTMLIFrameElement | null>;
themeMode?: typeof PushUI.CONSTANTS.THEME.LIGHT | typeof PushUI.CONSTANTS.THEME.DARK;
isWalletVisible: boolean;
isIframeLoading: boolean;
setIframeLoading: (isIframeLoading: boolean) => void;
sendWalletConfig: () => void;
modalAppData: ModalAppDetails | undefined;
config: ProviderConfigProps;
universalAccount: UniversalAccount | null;
isWalletMinimised: boolean;
setMinimiseWallet: (isWalletMinimised: boolean) => void;
handleUserLogOutEvent: () => void;
sendMessageToPushWallet: (message: any) => void;
isReadOnly: boolean;
toggleButtonRefs: React.MutableRefObject<Record<string, HTMLDivElement | null>>;
activeTriggerId: string | undefined;
};
declare const LoginModal: FC<LoginModalProps>;
export { LoginModal };