mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-04 03:25:30 +08:00
### What problem does this PR solve? Feat: Add FilesTable #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
import { ReactComponent as DeleteIcon } from '@/assets/svg/delete.svg';
|
||||
import SvgIcon from '@/components/svg-icon';
|
||||
import { useTranslate } from '@/hooks/common-hooks';
|
||||
import {
|
||||
IListResult,
|
||||
@ -29,6 +27,7 @@ import {
|
||||
useSelectBreadcrumbItems,
|
||||
} from './hooks';
|
||||
|
||||
import { FolderInput, Trash2 } from 'lucide-react';
|
||||
import styles from './index.less';
|
||||
|
||||
interface IProps
|
||||
@ -127,8 +126,8 @@ const FileToolbar = ({
|
||||
onClick: handleRemoveFile,
|
||||
label: (
|
||||
<Flex gap={10}>
|
||||
<span className={styles.deleteIconWrapper}>
|
||||
<DeleteIcon width={18} />
|
||||
<span className="flex items-center justify-center">
|
||||
<Trash2 className="size-4" />
|
||||
</span>
|
||||
<b>{t('delete', { keyPrefix: 'common' })}</b>
|
||||
</Flex>
|
||||
@ -139,8 +138,8 @@ const FileToolbar = ({
|
||||
onClick: handleShowMoveFileModal,
|
||||
label: (
|
||||
<Flex gap={10}>
|
||||
<span className={styles.deleteIconWrapper}>
|
||||
<SvgIcon name={`move`} width={18}></SvgIcon>
|
||||
<span className="flex items-center justify-center">
|
||||
<FolderInput className="size-4"></FolderInput>
|
||||
</span>
|
||||
<b>{t('move', { keyPrefix: 'common' })}</b>
|
||||
</Flex>
|
||||
|
||||
Reference in New Issue
Block a user