@migration-planner-ui/ioc 0.0.5 → 0.0.6
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/Provider.d.ts +3 -2
- package/package.json +1 -1
- package/src/Provider.tsx +4 -3
package/dist/Provider.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type PropsWithChildren } from "react";
|
|
2
3
|
import { Container } from "./Container";
|
|
3
|
-
export declare const Provider: FC<PropsWithChildren<{
|
|
4
|
+
export declare const Provider: React.FC<PropsWithChildren<{
|
|
4
5
|
container: Container;
|
|
5
6
|
}>>;
|
package/package.json
CHANGED
package/src/Provider.tsx
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type PropsWithChildren } from "react";
|
|
3
3
|
import { Context } from "./Context";
|
|
4
|
+
import { Container } from "./Container";
|
|
4
5
|
|
|
5
|
-
export const Provider: FC<
|
|
6
|
+
export const Provider: React.FC<
|
|
6
7
|
PropsWithChildren<{ container: Container }>
|
|
7
8
|
> = (props) => {
|
|
8
9
|
const { container, children } = props;
|