'use client' import { useTranslation } from '#i18n' import { Group } from '@/app/components/base/icons/src/vender/other' import { cn } from '@/utils/classnames' import Line from './line' type Props = { 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