eros-sdk-react
Version:
eros sdk
112 lines (93 loc) • 5.78 kB
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-BrVeC0c8.js';
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CvzpMw3N.js';
import { ReactNode } from 'react';
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
declare function LoginButton({ loginRender, methods, recommendMethods, onLoginClick, popoverPosition, popoverType, popoverGap, walletMethods, ...props }: Omit<ButtonProps, 'onClick' | 'highlight'> & {
loginRender?: ReactNode;
methods?: OtherLoginMethodType[];
recommendMethods?: RecommendLoginMethodType[];
walletMethods?: WalletType[];
onLoginClick?: () => void;
popoverPosition?: PopoverPositionType;
popoverType?: PopoverTypeType;
popoverGap?: number | string;
}): react_jsx_runtime.JSX.Element;
declare function LoginPanel({ header, onClose, ...props }: LoginPanelProps): react_jsx_runtime.JSX.Element;
declare function LoginModal({ isOpen, width, ...props }: LoginModalProps): react_jsx_runtime.JSX.Element;
declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWithHeaderProps & {
onSuccess?: () => void;
}): react_jsx_runtime.JSX.Element;
type EVMModalProps = ModalWithHeaderProps & {
type?: 'login' | 'bind' | '';
onSuccess?: () => void;
};
declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
type TRONConnectModalProps = ModalWithHeaderProps & {
type?: 'login' | 'bind' | '';
onSuccess?: () => void;
};
declare function TRONModal(props: TRONConnectModalProps): false | react_jsx_runtime.JSX.Element;
type TonModalProps = ModalWithHeaderProps & {
type?: 'login' | 'bind' | '';
onSuccess?: () => void;
};
declare function TONModal(props: TonModalProps): false | react_jsx_runtime.JSX.Element;
type BTCConnectModalProps = ModalWithHeaderProps & {
type?: 'login' | 'bind' | '';
onSuccess?: () => void;
};
declare function BTCModal(props: BTCConnectModalProps): false | react_jsx_runtime.JSX.Element;
type WalletModalProps = ModalWithHeaderProps & {
type?: 'login' | 'bind' | '';
methods?: WalletType[];
};
declare function WalletModal(props: WalletModalProps): false | react_jsx_runtime.JSX.Element;
declare function WalletAsset({ onAssetClick, matchWalletAssetsOptions }: {
onAssetClick?: (asset: WalletAssetMergeType) => () => void;
matchWalletAssetsOptions?: useMatchWalletAssetsProps;
}): react_jsx_runtime.JSX.Element;
declare function TokenDetail({ onClose, token }: {
onClose: () => void;
token: WalletAssetMergeType;
}): react_jsx_runtime.JSX.Element;
declare function TokenSend({ onClose, zIndex, token, onBack }: {
onBack: () => void;
onClose: () => void;
zIndex: number;
token: WalletAssetMergeType;
}): react_jsx_runtime.JSX.Element;
declare function TokenSendList({ close }: {
close: () => void;
}): react_jsx_runtime.JSX.Element;
declare function TransactionList({ scrollableTarget }: {
scrollableTarget?: ReactNode;
}): react_jsx_runtime.JSX.Element;
declare const index_BTCModal: typeof BTCModal;
declare const index_Button: typeof Button;
declare const index_EVMModal: typeof EVMModal;
declare const index_EmailModal: typeof EmailModal;
declare const index_Field: typeof Field;
declare const index_Input: typeof Input;
declare const index_LoginBox: typeof LoginBox;
declare const index_LoginButton: typeof LoginButton;
declare const index_LoginModal: typeof LoginModal;
declare const index_LoginPanel: typeof LoginPanel;
declare const index_Modal: typeof Modal;
declare const index_ModalWithHeader: typeof ModalWithHeader;
declare const index_Overlay: typeof Overlay;
declare const index_Popover: typeof Popover;
declare const index_TONModal: typeof TONModal;
declare const index_TRONModal: typeof TRONModal;
declare const index_TokenDetail: typeof TokenDetail;
declare const index_TokenSend: typeof TokenSend;
declare const index_TokenSendList: typeof TokenSendList;
declare const index_TransactionList: typeof TransactionList;
declare const index_UsernameModal: typeof UsernameModal;
declare const index_WalletAsset: typeof WalletAsset;
declare const index_WalletModal: typeof WalletModal;
declare namespace index {
export { index_BTCModal as BTCModal, index_Button as Button, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
}
export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };