import React, { type FC } from 'react' import { RiFileList2Line } from '@remixicon/react' import { useTranslation } from 'react-i18next' type IEmptyProps = { onClearFilter: () => void } const EmptyCard = React.memo(() => { return (
) }) EmptyCard.displayName = 'EmptyCard' type LineProps = { className?: string } const Line = React.memo(({ className, }: LineProps) => { return ( ) }) Line.displayName = 'Line' const Empty: FC = ({ onClearFilter, }) => { const { t } = useTranslation() return (
{t('datasetDocuments.segment.empty')}
{ Array.from({ length: 10 }).map((_, i) => ( )) }
) } export default React.memo(Empty)