@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
13 lines • 550 B
TypeScript
import React, { ReactNode } from 'react';
import { WithClassnameType } from '../../types';
import { DappModalConfig } from '../dappModal.types';
export interface DappModalPropsType extends WithClassnameType {
id?: string;
visible: boolean;
onHide?: () => void;
parentElement?: Element;
children?: ReactNode;
config?: DappModalConfig;
}
export declare const DappModal: ({ id, visible, onHide, parentElement, config, children, className }: DappModalPropsType) => React.ReactPortal | null;
//# sourceMappingURL=DappModal.d.ts.map