### What problem does this PR solve? feat: Add component GitHub #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
20 lines
471 B
TypeScript
20 lines
471 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;
|