Files
gsfdc/demo-dify/dify/web/app/components/plugins/base/badges/verified.tsx
T
wuzilongandCursor 6519682885 chore: 纳入本地 Dify 1.19.0 源码及品牌与免登改动
演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-18 13:59:25 +08:00

25 lines
559 B
TypeScript

import type { FC } from 'react'
import useTheme from '@/hooks/use-theme'
import IconWithTooltip from './icon-with-tooltip'
type VerifiedProps = {
className?: string
text: string
}
const Verified: FC<VerifiedProps> = ({ className, text }) => {
const { theme } = useTheme()
return (
<IconWithTooltip
className={className}
theme={theme}
lightIconClassName={'i-custom-public-plugins-verified-light'}
darkIconClassName={'i-custom-public-plugins-verified-dark'}
popupContent={text}
/>
)
}
export default Verified