priority-use-tip.tsx 623 B

12345678910111213141516171819
  1. import { useTranslation } from 'react-i18next'
  2. import { ChevronDownDouble } from '@/app/components/base/icons/src/vender/line/arrows'
  3. import Tooltip from '@/app/components/base/tooltip'
  4. const PriorityUseTip = () => {
  5. const { t } = useTranslation()
  6. return (
  7. <Tooltip
  8. popupContent={t('common.modelProvider.priorityUsing') || ''}
  9. >
  10. <div className='absolute -right-[5px] -top-[5px] bg-indigo-50 rounded-[5px] border-[0.5px] border-indigo-100 cursor-pointer'>
  11. <ChevronDownDouble className='rotate-180 w-3 h-3 text-indigo-600' />
  12. </div>
  13. </Tooltip>
  14. )
  15. }
  16. export default PriorityUseTip