no-custom-tool-placeholder.tsx 999 B

1234567891011121314151617181920212223242526
  1. 'use client'
  2. import type { FC } from 'react'
  3. import React from 'react'
  4. import { useTranslation } from 'react-i18next'
  5. import { BookOpen01 } from '../base/icons/src/vender/line/education'
  6. import { Icon3Dots } from '../base/icons/src/public/other'
  7. const NoCustomToolPlaceHolder: FC = () => {
  8. const { t } = useTranslation()
  9. return (
  10. <div className='h-full flex items-center justify-center'>
  11. <div className='p-6 rounded-xl bg-gray-50'>
  12. <div className='inline-flex p-2 border border-gray-200 rounded-md'>
  13. <BookOpen01 className='w-4 h-4 text-primary-600' />
  14. </div>
  15. <div className='mt-3 leading-6 text-base font-medium text-gray-700'>
  16. {t('tools.noCustomTool.title')}
  17. <Icon3Dots className='inline relative -top-3 -left-1.5' />
  18. </div>
  19. <div className='mt-2 leading-5 text-sm font-normal text-gray-700'>{t('tools.noCustomTool.content')}</div>
  20. </div>
  21. </div>
  22. )
  23. }
  24. export default React.memo(NoCustomToolPlaceHolder)