@bsol-oss/react-datatable5 13.0.1-beta.25 → 13.0.1-beta.26
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.
package/dist/index.d.ts
CHANGED
|
@@ -790,7 +790,7 @@ interface Translate {
|
|
|
790
790
|
}
|
|
791
791
|
interface UseFormProps {
|
|
792
792
|
preLoadedValues?: FieldValues | undefined;
|
|
793
|
-
schema?:
|
|
793
|
+
schema?: CustomJSONSchema7;
|
|
794
794
|
}
|
|
795
795
|
declare const useForm: ({ preLoadedValues, schema }: UseFormProps) => {
|
|
796
796
|
form: react_hook_form.UseFormReturn<FieldValues, any, undefined>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { JSONSchema7 } from 'json-schema';
|
|
3
2
|
import { FieldValues } from 'react-hook-form';
|
|
3
|
+
import { CustomJSONSchema7 } from './components/types/CustomJSONSchema7';
|
|
4
4
|
export interface Translate {
|
|
5
5
|
t: (key: string, options?: any) => string;
|
|
6
6
|
i18n?: any;
|
|
@@ -8,7 +8,7 @@ export interface Translate {
|
|
|
8
8
|
}
|
|
9
9
|
export interface UseFormProps {
|
|
10
10
|
preLoadedValues?: FieldValues | undefined;
|
|
11
|
-
schema?:
|
|
11
|
+
schema?: CustomJSONSchema7;
|
|
12
12
|
}
|
|
13
13
|
export declare const useForm: ({ preLoadedValues, schema }: UseFormProps) => {
|
|
14
14
|
form: import("react-hook-form").UseFormReturn<FieldValues, any, undefined>;
|