index.tsx 744 B

12345678910111213141516171819202122232425
  1. 'use client'
  2. import React, { type FC } from 'react'
  3. import { useTranslation } from 'react-i18next'
  4. import Panel from '@/app/components/app/configuration/base/feature-panel'
  5. import { Citations } from '@/app/components/base/icons/src/vender/solid/editor'
  6. const Citation: FC = () => {
  7. const { t } = useTranslation()
  8. return (
  9. <Panel
  10. title={
  11. <div className='flex items-center gap-2'>
  12. <div>{t('appDebug.feature.citation.title')}</div>
  13. </div>
  14. }
  15. headerIcon={<Citations className='w-4 h-4 text-[#FD853A]' />}
  16. headerRight={
  17. <div className='text-xs text-gray-500'>{t('appDebug.feature.citation.resDes')}</div>
  18. }
  19. noBodySpacing
  20. />
  21. )
  22. }
  23. export default React.memo(Citation)