@webiny/react-composition
Advanced tools
Comparing version 0.0.0-unstable.8c4d9f045a to 0.0.0-unstable.fcdad0bc61
@@ -29,3 +29,3 @@ import React, { FC, ComponentType } from "react"; | ||
export declare const CompositionProvider: React.FC; | ||
export declare function useComponent(Component: ComponentType<any>): React.ComponentType<any>; | ||
export declare function useComponent(Component: ComponentType<any>): React.ComponentClass<unknown, any> | React.FunctionComponent<unknown>; | ||
/** | ||
@@ -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.8c4d9f045a", | ||
"version": "0.0.0-unstable.fcdad0bc61", | ||
"main": "index.js", | ||
@@ -17,3 +17,3 @@ "repository": { | ||
"dependencies": { | ||
"@babel/runtime": "7.18.9", | ||
"@babel/runtime": "7.19.0", | ||
"@types/react": "17.0.39", | ||
@@ -25,8 +25,8 @@ "lodash.debounce": "4.0.8", | ||
"devDependencies": { | ||
"@babel/cli": "^7.16.0", | ||
"@babel/core": "^7.16.0", | ||
"@babel/preset-env": "^7.16.4", | ||
"@babel/preset-typescript": "^7.16.0", | ||
"@webiny/cli": "^0.0.0-unstable.8c4d9f045a", | ||
"@webiny/project-utils": "^0.0.0-unstable.8c4d9f045a", | ||
"@babel/cli": "^7.19.3", | ||
"@babel/core": "^7.19.3", | ||
"@babel/preset-env": "^7.19.4", | ||
"@babel/preset-typescript": "^7.18.6", | ||
"@webiny/cli": "^0.0.0-unstable.fcdad0bc61", | ||
"@webiny/project-utils": "^0.0.0-unstable.fcdad0bc61", | ||
"ttypescript": "^1.5.13", | ||
@@ -43,3 +43,3 @@ "typescript": "4.7.4" | ||
}, | ||
"gitHead": "5f904a53a5956269bd80a9c084cc04f92b824d36" | ||
"gitHead": "40d639c3665e384a5e2d26674d43ce26f3295e8c" | ||
} |
29730
19
+ Added@babel/runtime@7.19.0(transitive)
- Removed@babel/runtime@7.18.9(transitive)
Updated@babel/runtime@7.19.0