UNPKG

@mojito-inc/secondary-market

Version:

Mojito secondary market is the platform to purchase NFT.

2 lines (1 loc) 806 B
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("@mui/material/Typography"),i=require("@mui/material/Box"),t=require("@mui/material/styles");exports.default=({noDataMessage:o,border:l})=>{var d,a,n,u;const s=t.useTheme();return e.jsx(i,{sx:{padding:"8px",borderRadius:"4px",background:null===(d=null==s?void 0:s.palette)||void 0===d?void 0:d.noDataBackground,border:l?`1px solid ${null===(a=null==s?void 0:s.palette)||void 0===a?void 0:a.grey[400]}`:"none",width:"100%",display:"flex",justifyContent:"center"},gap:"16px",children:e.jsx(r,{sx:{fontSize:12,fontWeight:400},color:null===(u=null===(n=null==s?void 0:s.palette)||void 0===n?void 0:n.text)||void 0===u?void 0:u.secondary,paddingLeft:"8px",children:o||"No results to display"})})};