@lobehub/ui
Version:
Lobe UI is an open-source UI component library for building AIGC web apps
20 lines (19 loc) • 773 B
JavaScript
'use client';
import { Form as AntForm } from 'antd';
import FormParent from "./Form";
import FormGroup from "./components/FormGroup";
import FormItem from "./components/FormItem";
import FormSubmitFooter from "./components/FormSubmitFooter";
import FormTitle from "./components/FormTitle";
var Form = FormParent;
Form.Item = FormItem;
Form.Group = FormGroup;
Form.Title = FormTitle;
Form.useForm = AntForm.useForm;
Form.Provider = AntForm.Provider;
Form.SubmitFooter = FormSubmitFooter;
export default Form;
export { default as FormGroup } from "./components/FormGroup";
export { default as FormItem } from "./components/FormItem";
export { default as FormSubmitFooter } from "./components/FormSubmitFooter";
export { default as FormTitle } from "./components/FormTitle";