loners-form
Version:
为工作而生,基于 antd 而生的可配置化表单
9 lines (8 loc) • 328 B
TypeScript
import type { FormItemType } from './interface';
import type { FormItemProps } from 'antd/lib/form/FormItem';
interface FormToolItemProps extends FormItemProps {
type: FormItemType;
fieldProps: any;
}
declare function FormItem({ type, fieldProps, ...rawProps }: FormToolItemProps): JSX.Element;
export default FormItem;