@webiny/react-composition
Advanced tools
Comparing version 0.0.0-unstable.5e7233243f to 0.0.0-unstable.8c4d9f045a
@@ -29,3 +29,3 @@ import React, { FC, ComponentType } from "react"; | ||
export declare const CompositionProvider: React.FC; | ||
export declare function useComponent(Component: ComponentType<any>): React.ComponentClass<unknown, any> | React.FunctionComponent<unknown>; | ||
export declare function useComponent(Component: ComponentType<any>): React.ComponentType<any>; | ||
/** | ||
@@ -32,0 +32,0 @@ * This hook will throw an error if composition context doesn't exist. |
{ | ||
"name": "@webiny/react-composition", | ||
"version": "0.0.0-unstable.5e7233243f", | ||
"version": "0.0.0-unstable.8c4d9f045a", | ||
"main": "index.js", | ||
@@ -28,4 +28,4 @@ "repository": { | ||
"@babel/preset-typescript": "^7.16.0", | ||
"@webiny/cli": "^0.0.0-unstable.5e7233243f", | ||
"@webiny/project-utils": "^0.0.0-unstable.5e7233243f", | ||
"@webiny/cli": "^0.0.0-unstable.8c4d9f045a", | ||
"@webiny/project-utils": "^0.0.0-unstable.8c4d9f045a", | ||
"ttypescript": "^1.5.13", | ||
@@ -42,3 +42,3 @@ "typescript": "4.7.4" | ||
}, | ||
"gitHead": "995a4b337db9b8497c6615e335dcd206afe26f8f" | ||
"gitHead": "5f904a53a5956269bd80a9c084cc04f92b824d36" | ||
} |
29685