@pushchain/ui-kit
Version:
## Overview
22 lines (21 loc) • 937 B
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;
toggleButtonRef: React.RefObject<HTMLButtonElement>;
sendMessageToPushWallet: (message: any) => void;
};
declare const LoginModal: FC<LoginModalProps>;
export { LoginModal };