@bothub-chat/ui
Version:
Bothub UI Components
2 lines (1 loc) • 881 B
JavaScript
import{__rest as t}from"tslib";import{jsxs as o,jsx as r}from"react/jsx-runtime";import{BookmarkCardChatStyled as e,BookmarkCardChatIcon as i,BookmarkCardChatName as m}from"./styled.js";import{Skeleton as s}from"../../../skeleton/index.js";import{IconProvider as l}from"../../../icon/context.js";import"../../../icon/styled.js";import"react";import"@react-spring/web";import"react-markdown";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{useTheme as p}from"../../../../theme/hook.js";const n=n=>{var c=t(n,[]);const a=p();return o(e,{children:[r(l,{fill:c.skeleton?a.colors.grayScale.gray1:a.colors.base.white,children:r(i,{})}),o(m,{children:[!c.skeleton&&c.name,c.skeleton&&r(s,{})]})]})};export{n as BookmarkCardChat};