dfh-ui-library 1.1.63 → 1.1.64
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/hooks/useSchemaProcessor.d.ts +4 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/hooks/useSchemaProcessor.d.ts +4 -3
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { IComponent, ISchema } from "../shared/models/components/common.model";
|
|
3
2
|
interface UseSchemaProcessorProps {
|
|
4
3
|
schema: ISchema[];
|
|
5
4
|
externalSetComponents: (data: IComponent[]) => void;
|
|
6
5
|
}
|
|
7
|
-
declare const
|
|
8
|
-
|
|
6
|
+
declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchemaProcessorProps) => {
|
|
7
|
+
componentsRtn: IComponent[] | undefined;
|
|
8
|
+
};
|
|
9
|
+
export default useSchemaProcessor;
|
package/dist/index.d.ts
CHANGED
|
@@ -372,6 +372,8 @@ interface UseSchemaProcessorProps {
|
|
|
372
372
|
schema: ISchema[];
|
|
373
373
|
externalSetComponents: (data: IComponent[]) => void;
|
|
374
374
|
}
|
|
375
|
-
declare const
|
|
375
|
+
declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchemaProcessorProps) => {
|
|
376
|
+
componentsRtn: IComponent[] | undefined;
|
|
377
|
+
};
|
|
376
378
|
|
|
377
|
-
export { Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, Input, InputValidation, Label, RadioButton, Select, Textarea, Typhography, UseSchemaProcessor };
|
|
379
|
+
export { Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, Input, InputValidation, Label, RadioButton, Select, Textarea, Typhography, useSchemaProcessor as UseSchemaProcessor };
|