UNPKG

@sofaws/dapp-core

Version:

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

3 lines (2 loc) 955 B
import{a as t}from"./chunk-5MEW2CMB.js";import{b as r}from"./chunk-URAH3NK6.js";import{a as n}from"./chunk-JMPR5MAD.js";import{b as e}from"./chunk-I2NWMXXW.js";import{m as l}from"./chunk-HBP5N4FR.js";l();import a from"react";import s from"classnames";var T=({transaction:i})=>{var o,d;return a.createElement("div",{className:s(e.dFlex,e.alignItemsCenter,r.transactionCell)},a.createElement(n,{page:(o=i.links.senderShardLink)!=null?o:"",className:s(r.transactionCellMargin,r.transactionCellLink),"data-testid":"shardFromLink"},a.createElement(t,{shard:i.senderShard,"data-testid":"senderShard"})),a.createElement("span",{className:s(e.textSecondary,e.mx2)},"\u2794"),a.createElement(n,{className:s(r.transactionCellMargin,r.transactionCellLink),page:(d=i.links.receiverShardLink)!=null?d:"","data-testid":"shardToLink"},a.createElement(t,{shard:i.receiverShard,"data-testid":"receiverShard"})))};export{T as a}; //# sourceMappingURL=chunk-DXIQ4SUX.js.map