@mojito-inc/secondary-market
Version:
Mojito secondary market is the platform to purchase NFT.
2 lines (1 loc) • 869 B
JavaScript
import{jsxs as t,jsx as r}from"react/jsx-runtime";import e from"@mui/material/Typography";import o from"@mui/material/Box";import{useTheme as i}from"@mui/material/styles";import l from"html-react-parser";import a from"./VideoWithImageCard.js";const m=({url:m,title:p,subTitle:n,placeholderImage:d,height:h,videoAttributes:s})=>{var u,g;const c=i();return t(o,{children:[r(o,{sx:{background:"transparent",marginBottom:"12px",overflow:"hidden",borderRadius:"12px"},children:r(a,{url:m,placeholderImage:d,videoAttributes:s,height:h,style:{height:"100%",marginTop:"-10px"}})}),r(e,{sx:{fontWeight:400,fontSize:"16px",marginBottom:"2px",color:null===(g=null===(u=null==c?void 0:c.palette)||void 0===u?void 0:u.text)||void 0===g?void 0:g.primary},children:l(p)}),n&&r(e,{sx:{fontSize:"12px",fontWeight:400,color:c.palette.grey[500]},children:l(n)})]})};export{m as default};