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

@ -1,6 +1,9 @@
import { useState } from 'react'
import type { FC } from 'react'
import cn from 'classnames'
import {
RiQuestionLine,
} from '@remixicon/react'
import { ValidatingTip } from '../../key-validator/ValidateStatus'
import type {
CredentialFormSchema,
@ -16,7 +19,6 @@ import { useLanguage } from '../hooks'
import Input from './Input'
import { SimpleSelect } from '@/app/components/base/select'
import Tooltip from '@/app/components/base/tooltip-plus'
import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general'
import Radio from '@/app/components/base/radio'
type FormProps = {
className?: string
@ -78,7 +80,7 @@ const Form: FC<FormProps> = ({
{tooltip[language] || tooltip.en_US}
</div>
} >
<HelpCircle className='w-3 h-3 text-gray-500' />
<RiQuestionLine className='w-3 h-3 text-gray-500' />
</Tooltip>
</span>))
if (formSchema.type === FormTypeEnum.textInput || formSchema.type === FormTypeEnum.secretInput || formSchema.type === FormTypeEnum.textNumber) {