'use client' import { cn } from '@langgenius/dify-ui/cn' import { useTranslation } from '#i18n' import { Group } from '@/app/components/base/icons/src/vender/other' import Line from './line' type Props = Readonly<{ text?: string lightCard?: boolean className?: string }> const Empty = ({ text, lightCard, className }: Props) => { const { t } = useTranslation() return (
{Array.from({ length: 16 }).map((_, index) => (
11 && 'mb-0', lightCard && 'bg-background-default-lighter opacity-75', )} >
))} {!lightCard &&
}
{text || t(($) => $['marketplace.noPluginFound'], { ns: 'plugin' })}
) } export default Empty