UNPKG

@alephium/web3-react

Version:
28 lines (27 loc) 711 B
import React, { ReactNode } from 'react'; import { Variants } from 'framer-motion'; export declare const contentVariants: Variants; export declare const routes: { CONNECTORS: string; PROFILE: string; CONNECT: string; }; export type Page = { id: keyof typeof routes; content: ReactNode; }; type ModalProps = { open?: boolean; pages: Page[]; pageId: string; positionInside?: boolean; inline?: boolean; onClose?: () => void; onBack?: () => void; onInfo?: () => void; }; declare const Modal: React.FC<ModalProps>; export declare const OrDivider: ({ children }: { children?: React.ReactNode; }) => JSX.Element; export default Modal;