@migration-planner-ui/ioc 0.0.5 → 0.0.7

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,5 +1,6 @@
1
- import { type FC, type PropsWithChildren } from "react";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@migration-planner-ui/ioc",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "A basic IoC solution for React apps (inspired by InversifyJs)",
5
5
  "author": "Jonathan Kilzi <jkilzi@redhat.com>",
6
6
  "repository": {
package/src/Provider.tsx CHANGED
@@ -1,8 +1,9 @@
1
- import { type FC, type PropsWithChildren } from "react";
2
- import { Container } from "./Container";
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;