mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-29 17:45:12 +08:00

Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: Yeuoly <admin@srmxy.cn> Co-authored-by: JzoNg <jzongcode@gmail.com> Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: jyong <jyong@dify.ai> Co-authored-by: nite-knite <nkCoding@gmail.com> Co-authored-by: jyong <718720800@qq.com>
26 lines
744 B
TypeScript
26 lines
744 B
TypeScript
'use client'
|
|
import React, { type FC } from 'react'
|
|
import { useTranslation } from 'react-i18next'
|
|
import Panel from '@/app/components/app/configuration/base/feature-panel'
|
|
import { Citations } from '@/app/components/base/icons/src/vender/solid/editor'
|
|
|
|
const Citation: FC = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<Panel
|
|
title={
|
|
<div className='flex items-center gap-2'>
|
|
<div>{t('appDebug.feature.citation.title')}</div>
|
|
</div>
|
|
}
|
|
headerIcon={<Citations className='w-4 h-4 text-[#FD853A]' />}
|
|
headerRight={
|
|
<div className='text-xs text-gray-500'>{t('appDebug.feature.citation.resDes')}</div>
|
|
}
|
|
noBodySpacing
|
|
/>
|
|
)
|
|
}
|
|
export default React.memo(Citation)
|