feat: new icons (#5412)
This commit is contained in:
@@ -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