
Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: Garfield Dai <dai.hai@foxmail.com> Co-authored-by: chenhe <guchenhe@gmail.com> Co-authored-by: jyong <jyong@dify.ai> Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Yeuoly <admin@srmxy.cn>
21 lines
676 B
TypeScript
21 lines
676 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import { ChevronDownDouble } from '@/app/components/base/icons/src/vender/line/arrows'
|
|
import Tooltip from '@/app/components/base/tooltip'
|
|
|
|
const PriorityUseTip = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<Tooltip
|
|
selector='provider-quota-credential-priority-using'
|
|
content={t('common.modelProvider.priorityUsing') || ''}
|
|
>
|
|
<div className='absolute -right-[5px] -top-[5px] bg-indigo-50 rounded-[5px] border-[0.5px] border-indigo-100 cursor-pointer'>
|
|
<ChevronDownDouble className='rotate-180 w-3 h-3 text-indigo-600' />
|
|
</div>
|
|
</Tooltip>
|
|
)
|
|
}
|
|
|
|
export default PriorityUseTip
|