@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
12 lines • 667 B
TypeScript
import { ReactElement, ReactChildren } from 'react';
import { CustomNetworkType, EnvironmentsEnum, IDappProvider } from 'types';
import { CustomComponentsType } from './CustomComponents';
export interface DappProviderPropsType {
children: ReactChildren | ReactElement;
customNetworkConfig?: CustomNetworkType;
externalProvider?: IDappProvider;
environment: 'testnet' | 'mainnet' | 'devnet' | EnvironmentsEnum;
customComponents?: CustomComponentsType;
}
export declare const DappProvider: ({ children, customNetworkConfig, externalProvider, environment, customComponents }: DappProviderPropsType) => JSX.Element;
//# sourceMappingURL=index.d.ts.map