@brainly-gene/core
Advanced tools
Comparing version 0.2.0-alpha.18 to 0.2.0-alpha.19
{ | ||
"name": "@brainly-gene/core", | ||
"version": "0.2.0-alpha.18", | ||
"version": "0.2.0-alpha.19", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -1,2 +0,2 @@ | ||
import React, { PropsWithChildren } from 'react'; | ||
import React from 'react'; | ||
import { interfaces } from 'inversify'; | ||
@@ -14,3 +14,3 @@ export declare const InversifyContext: React.Context<{ | ||
export declare function useCallbackInjection<T, R = void>(identifier: interfaces.ServiceIdentifier<CallbackType<T, R>>, fallback: CallbackType<T, R>): CallbackType<T, R>; | ||
export declare function withIoc<T extends PropsWithChildren>(getContainer: (props: T) => interfaces.Container): (Page: React.ComponentType<T>) => (props: T) => import("react/jsx-runtime").JSX.Element; | ||
export declare function withIoc<T extends JSX.IntrinsicAttributes>(getContainer: (props: T) => interfaces.Container): (Page: React.ComponentType<T>) => (props: T) => import("react/jsx-runtime").JSX.Element; | ||
export {}; |
146623