### What problem does this PR solve? Feat: Render WikipediaForm and BaiduForm with shadcn-ui. #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
22 lines
627 B
TypeScript
22 lines
627 B
TypeScript
import { TopNFormField } from '@/components/top-n-item';
|
|
import { Form } from '@/components/ui/form';
|
|
import { INextOperatorForm } from '../../interface';
|
|
import { DynamicInputVariable } from '../components/next-dynamic-input-variable';
|
|
|
|
const AkShareForm = ({ form, node }: INextOperatorForm) => {
|
|
return (
|
|
<Form {...form}>
|
|
<form
|
|
className="space-y-6"
|
|
onSubmit={(e) => {
|
|
e.preventDefault();
|
|
}}
|
|
>
|
|
<DynamicInputVariable node={node}></DynamicInputVariable>
|
|
<TopNFormField max={99}></TopNFormField>
|
|
</form>
|
|
</Form>
|
|
);
|
|
};
|
|
|
|
export default AkShareForm;
|