mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-23 09:46:53 +08:00
feat: new icons (#5412)
This commit is contained in:
@@ -3,9 +3,9 @@ import { useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import cn from 'classnames'
|
||||
import {
|
||||
Loading02,
|
||||
XClose,
|
||||
} from '@/app/components/base/icons/src/vender/line/general'
|
||||
RiCloseLine,
|
||||
RiLoader2Line,
|
||||
} from '@remixicon/react'
|
||||
import { RefreshCcw01 } from '@/app/components/base/icons/src/vender/line/arrows'
|
||||
import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback'
|
||||
import TooltipPlus from '@/app/components/base/tooltip-plus'
|
||||
@@ -84,7 +84,7 @@ const ImageList: FC<ImageListProps> = ({
|
||||
`}
|
||||
>
|
||||
{item.progress > -1 && (
|
||||
<Loading02 className="animate-spin w-5 h-5 text-white" />
|
||||
<RiLoader2Line className="animate-spin w-5 h-5 text-white" />
|
||||
)}
|
||||
{item.progress === -1 && (
|
||||
<TooltipPlus
|
||||
@@ -124,7 +124,7 @@ const ImageList: FC<ImageListProps> = ({
|
||||
)}
|
||||
onClick={() => onRemove && onRemove(item._id)}
|
||||
>
|
||||
<XClose className="w-3 h-3 text-gray-500" />
|
||||
<RiCloseLine className="w-3 h-3 text-gray-500" />
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { FC } from 'react'
|
||||
import { createPortal } from 'react-dom'
|
||||
import { XClose } from '@/app/components/base/icons/src/vender/line/general'
|
||||
import { RiCloseLine } from '@remixicon/react'
|
||||
|
||||
type ImagePreviewProps = {
|
||||
url: string
|
||||
@@ -21,7 +21,7 @@ const ImagePreview: FC<ImagePreviewProps> = ({
|
||||
className='absolute top-6 right-6 flex items-center justify-center w-8 h-8 bg-white/8 rounded-lg backdrop-blur-[2px] cursor-pointer'
|
||||
onClick={onCancel}
|
||||
>
|
||||
<XClose className='w-4 h-4 text-white' />
|
||||
<RiCloseLine className='w-4 h-4 text-white' />
|
||||
</div>
|
||||
</div>,
|
||||
document.body,
|
||||
|
||||
Reference in New Issue
Block a user