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
|