feat: new icons (#5412)

This commit is contained in:
zxhlyh
2024-06-20 11:05:08 +08:00
committed by GitHub
parent 0105129fa8
commit 2328ed8ffa
338 changed files with 880 additions and 3669 deletions

View File

@@ -4,8 +4,11 @@ import {
} from 'react'
import cn from 'classnames'
import { useTranslation } from 'react-i18next'
import {
RiAddLine,
} from '@remixicon/react'
import { ArrowUpRight } from '@/app/components/base/icons/src/vender/line/arrows'
import { Check, Plus } from '@/app/components/base/icons/src/vender/line/general'
import { Check } from '@/app/components/base/icons/src/vender/line/general'
import { Tag01 } from '@/app/components/base/icons/src/vender/line/financeAndECommerce'
import type { ToolWithProvider } from '@/app/components/workflow/types'
import { BlockEnum } from '@/app/components/workflow/types'
@@ -109,7 +112,7 @@ const Blocks = ({
className={cn('hidden shrink-0 items-center !h-6 px-2 py-1 bg-white text-xs font-medium leading-[18px] text-primary-600 group-hover/item:flex')}
onClick={() => onSelect(toolWithProvider, tool)}
>
<Plus className='w-3 h-3' />
<RiAddLine className='w-3 h-3' />
{t('tools.addToolModal.add').toLocaleUpperCase()}
</Button>
)}