autoforma 1.0.45 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import { default as React } from 'react';
2
- import { FormValidateInput } from '@mantine/form';
3
1
  import { FieldRenderCustomRender } from '../types/custom-render';
4
2
  import { FieldSchema } from '../types/field';
3
+ import { FormValidateInput } from '@mantine/form';
4
+ import { default as React } from 'react';
5
5
  export interface AutoFormProps {
6
6
  values?: Record<string, any>;
7
7
  schema: FieldSchema[];
@@ -14,4 +14,5 @@ export interface AutoFormProps {
14
14
  onFieldChange?: (name: string, value: any, values: Record<string, any>) => Record<string, any>;
15
15
  }
16
16
  export declare const validateRequiredFields: (schema: FieldSchema[], values: Record<string, any>, parentPath?: string) => Record<string, string>;
17
- export default function (props: AutoFormProps): import("react/jsx-runtime").JSX.Element;
17
+ declare const AutoForm: React.FC<AutoFormProps>;
18
+ export default AutoForm;