演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
559 B
TypeScript
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
|