feat: new icons (#5412)

This commit is contained in:
zxhlyh 2024-06-20 11:05:08 +08:00 • committed by GitHub
commit 2328ed8ffa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
338 changed files with 880 additions and 3669 deletions

View file

@ -4,6 +4,9 @@ import {
} from 'react'
import produce from 'immer'
import cn from 'classnames'
import {
RiAddLine,
} from '@remixicon/react'
import { useStoreApi } from 'reactflow'
import { useTranslation } from 'react-i18next'
import {
@ -17,7 +20,6 @@ import { NODES_INITIAL_DATA } from '../../constants'
import InsertBlock from './insert-block'
import type { IterationNodeType } from './types'
import BlockSelector from '@/app/components/workflow/block-selector'
import { Plus } from '@/app/components/base/icons/src/vender/line/general'
import { IterationStart } from '@/app/components/base/icons/src/vender/workflow'
import type {
OnSelectBlock,
@ -85,7 +87,7 @@ const AddBlock = ({
`${nodesReadOnly && '!cursor-not-allowed opacity-50'}`,
open && '!bg-gray-50',
)}>
<Plus className='mr-1 w-4 h-4' />
<RiAddLine className='mr-1 w-4 h-4' />
{t('workflow.common.addBlock')}
</div>
)