dfh-ui-library 1.1.47 → 1.1.49

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,10 +1,9 @@
1
- import { ReactNode } from "react";
1
+ import React, { ReactNode } from "react";
2
2
  import { IComponent, ISchema } from "../../shared/models/components/common.model";
3
- import React from "react";
4
3
  interface IComponentProps {
5
4
  schema: ISchema[];
6
5
  children: ReactNode;
7
6
  setComponents: (data: IComponent[]) => void;
8
7
  }
9
- declare function DFHFormProvider({ schema, children, setComponents }: IComponentProps): React.JSX.Element;
8
+ declare const DFHFormProvider: React.FC<IComponentProps>;
10
9
  export default DFHFormProvider;
@@ -5,5 +5,5 @@ interface IComponentProps {
5
5
  children: ReactNode;
6
6
  setComponents: (data: IComponent[]) => void;
7
7
  }
8
- declare const ComponentProvider1: ({ schema, children, setComponents, }: IComponentProps) => React.JSX.Element;
9
- export default ComponentProvider1;
8
+ declare function DFHFormProvider({ schema, children, setComponents }: IComponentProps): React.JSX.Element;
9
+ export default DFHFormProvider;