UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

3 lines (2 loc) 479 B
import{a as s}from"./chunk-4N25IQGJ.js";import{s as p}from"./chunk-ZR7YL3KO.js";import{f as r}from"./chunk-C32UB6VS.js";import{m as o}from"./chunk-HBP5N4FR.js";o();import u,{useMemo as a}from"react";p();var I=({signError:t,canceledTransactionsMessage:e,onDelete:n,className:m})=>{let T=a(()=>t||e||r,[t,e]),i=a(()=>t?"error":e?"warning":"info",[t,e]);return u.createElement(s,{message:T,type:i,onDelete:n,className:m})};export{I as a}; //# sourceMappingURL=chunk-IJH2N2CF.js.map