feat: tooltip (#7634)
This commit is contained in:
parent
1ba3d3acd6
commit
3be756eaed
93 changed files with 640 additions and 758 deletions
|
|
@ -2,10 +2,7 @@
|
|||
import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import {
|
||||
RiQuestionLine,
|
||||
} from '@remixicon/react'
|
||||
import Tooltip from '../../base/tooltip'
|
||||
import Tooltip from '@/app/components/base/tooltip'
|
||||
import cn from '@/utils/classnames'
|
||||
import type { Credential } from '@/app/components/tools/types'
|
||||
import Drawer from '@/app/components/base/drawer-plus'
|
||||
|
|
@ -112,15 +109,13 @@ const ConfigCredential: FC<Props> = ({
|
|||
<div className='flex items-center h-8 text-[13px] font-medium text-gray-900'>
|
||||
{t('tools.createTool.authMethod.key')}
|
||||
<Tooltip
|
||||
selector='model-page-system-reasoning-model-tip'
|
||||
htmlContent={
|
||||
popupContent={
|
||||
<div className='w-[261px] text-gray-500'>
|
||||
{t('tools.createTool.authMethod.keyTooltip')}
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<RiQuestionLine className='ml-0.5 w-[14px] h-[14px] text-gray-400' />
|
||||
</Tooltip>
|
||||
triggerClassName='ml-0.5'
|
||||
/>
|
||||
</div>
|
||||
<input
|
||||
value={tempCredential.api_key_header}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue