mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-14 08:58:27 +08:00
### What problem does this PR solve? Feat: Initialize the data pipeline canvas. #9869 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
17 lines
312 B
TypeScript
17 lines
312 B
TypeScript
type FormProps = React.ComponentProps<'form'>;
|
|
|
|
export function FormWrapper({ children, ...props }: FormProps) {
|
|
return (
|
|
<form
|
|
className="space-y-6 p-4"
|
|
autoComplete="off"
|
|
onSubmit={(e) => {
|
|
e.preventDefault();
|
|
}}
|
|
{...props}
|
|
>
|
|
{children}
|
|
</form>
|
|
);
|
|
}
|