@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 2.07 kB
JavaScript
import{__rest as e}from"tslib";import{jsx as r,jsxs as t}from"react/jsx-runtime";import{ReferralCardStyled as i,ReferralCardContent as l,ReferralCardTop as o,ReferralCardMain as s,ReferralCardAI as n,ReferralCardAIName as d,ReferralCardInfo as a,ReferralCardName as c,ReferralCardPrice as m,ReferralCardPriceProgress as p,ReferralCardPriceRange as h,ReferralCardPriceRangeText as k,ReferralCardBottom as j,ReferralCardDateCreated as w}from"./styled.js";export{ReferralCardTable,ReferralCardTableCell,ReferralCardTableHeadCell,ReferralCardTableRow,ReferralCardWithdrawButton}from"./styled.js";import{Skeleton as x}from"../../skeleton/index.js";import"react";import"./link/styled.js";import"../../icon/styled.js";import"@react-spring/web";import"react-dom";import"../../portal/styled.js";import"../../tooltip/styled.js";import"../../tooltip/arrow/styled.js";import"../../../theme/index.js";import"../../tooltip/context.js";import"../../../icons/check-small/index.js";import"../../../icons/copy/index.js";const f=f=>{var{className:y,withdraw:C,children:b}=f,R=e(f,["className","withdraw","children"]);return r(i,{className:y,children:t(l,{children:[t(o,{children:[t(s,{children:[!R.skeleton&&R.aiName&&r(n,{children:r(d,{children:R.aiName})}),t(a,{children:[t(c,{children:[!R.skeleton&&R.name,R.skeleton&&r(x,{width:265})]}),t(m,{children:[!R.skeleton&&r(p,Object.assign({},R.price)),R.skeleton&&r(p,{skeleton:!0}),t(h,{children:[t(k,{children:[!R.skeleton&&R.price.minText,R.skeleton&&r(x,{width:60})]}),t(k,{children:[!R.skeleton&&R.price.maxText,R.skeleton&&r(x,{width:60})]})]})]})]})]}),b]}),t(j,{children:[C,t(w,{children:[!R.skeleton&&R.dateCreated,R.skeleton&&r(x,{width:330})]})]})]})})};export{f as ReferralCard,n as ReferralCardAI,d as ReferralCardAIName,j as ReferralCardBottom,l as ReferralCardContent,w as ReferralCardDateCreated,a as ReferralCardInfo,s as ReferralCardMain,c as ReferralCardName,m as ReferralCardPrice,p as ReferralCardPriceProgress,h as ReferralCardPriceRange,k as ReferralCardPriceRangeText,i as ReferralCardStyled,o as ReferralCardTop};