mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-16 12:47:19 +08:00
### What problem does this PR solve? feat: Add a note node to the agent canvas #2767 ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
21 lines
474 B
TypeScript
21 lines
474 B
TypeScript
import TopNItem from '@/components/top-n-item';
|
|
import { Form } from 'antd';
|
|
import { IOperatorForm } from '../../interface';
|
|
|
|
const GithubForm = ({ onValuesChange, form }: IOperatorForm) => {
|
|
return (
|
|
<Form
|
|
name="basic"
|
|
labelCol={{ span: 6 }}
|
|
wrapperCol={{ span: 18 }}
|
|
autoComplete="off"
|
|
form={form}
|
|
onValuesChange={onValuesChange}
|
|
>
|
|
<TopNItem initialValue={5}></TopNItem>
|
|
</Form>
|
|
);
|
|
};
|
|
|
|
export default GithubForm;
|