@oceanbase/design
Version: 
The Design System of OceanBase
20 lines (19 loc) • 692 B
TypeScript
import React from 'react';
import { Form as AntForm } from 'antd';
import type { FormProps as AntFormProps } from 'antd/es/form';
import Item from './FormItem';
export * from 'antd/es/form';
export type { FormItemProps } from './FormItem';
export type FormProps = AntFormProps;
type CompoundedComponent = React.FC<FormProps> & {
    Item: typeof Item;
    List: typeof AntForm.List;
    ErrorList: typeof AntForm.ErrorList;
    useForm: typeof AntForm.useForm;
    useFormInstance: typeof AntForm.useFormInstance;
    useWatch: typeof AntForm.useWatch;
    Provider: typeof AntForm.Provider;
    create: typeof AntForm.create;
};
declare const Form: CompoundedComponent;
export default Form;