mirror of
https://github.com/langgenius/dify.git
synced 2025-07-16 13:50:18 +00:00
19 lines
567 B
TypeScript
19 lines
567 B
TypeScript
import type { FC } from 'react'
|
|
import { memo } from 'react'
|
|
import type { DataSourceNodeType } from './types'
|
|
import type { NodePanelProps } from '@/app/components/workflow/types'
|
|
import VariableOrConstantInputField from '@/app/components/base/form/components/field/variable-or-constant-input'
|
|
|
|
const Panel: FC<NodePanelProps<DataSourceNodeType>> = () => {
|
|
return (
|
|
<div className='mb-2 mt-2 space-y-4 px-4'>
|
|
datasource
|
|
<VariableOrConstantInputField
|
|
label='Parent maximum chunk length'
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default memo(Panel)
|