mirror of
https://github.com/langgenius/dify.git
synced 2025-07-24 10:00:32 +00:00
20 lines
487 B
TypeScript
20 lines
487 B
TypeScript
import type { FC } from 'react'
|
|
import { memo } from 'react'
|
|
import type { KnowledgeBaseNodeType } from './types'
|
|
import IndexMethod from './components/index-method'
|
|
import type { NodePanelProps } from '@/app/components/workflow/types'
|
|
|
|
const Panel: FC<NodePanelProps<KnowledgeBaseNodeType>> = () => {
|
|
return (
|
|
<div>
|
|
<div className='py-2'>
|
|
<div className='px-4 py-2'>
|
|
<IndexMethod />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default memo(Panel)
|