import { RiCheckLine, RiCloseLine } from '@remixicon/react' import AppIcon from '@/app/components/base/app-icon' import cn from '@/utils/classnames' const Icon = ({ className, src, installed = false, installFailed = false, size, }: { className?: string src: string | { content: string background: string } installed?: boolean installFailed?: boolean size?: 'xs' | 'tiny' | 'small' | 'medium' | 'large' }) => { const iconClassName = 'flex justify-center items-center gap-2 absolute bottom-[-4px] right-[-4px] w-[18px] h-[18px] rounded-full border-2 border-components-panel-bg' if (typeof src === 'object') { return (