'use client' import { useTranslation } from 'react-i18next' import { Group } from '@/app/components/base/icons/src/vender/other' import Line from './line' import cn from '@/utils/classnames' 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', )} >
)) }
{text || t('plugin.marketplace.noPluginFound')}
) } export default Empty