@cerebral/react
Advanced tools
Comparing version 3.2.0-1519013188625 to 3.2.0-1519072252617
import * as React from 'react' | ||
import { ResolveValue, IResolve } from 'function-tree' | ||
import { ResolveValue, Resolve } from 'function-tree' | ||
@@ -17,3 +17,3 @@ interface PropsMap { | ||
propsMap: PropsMap, | ||
overrideProps: (dependencyProps: any, ownProps: EP, resolve: IResolve) => Partial<P & EP>, | ||
overrideProps: (dependencyProps: any, ownProps: EP, resolve: Resolve) => Partial<P & EP>, | ||
component: React.ComponentClass<P & EP> | React.SFC<P & EP> | ||
@@ -25,3 +25,3 @@ ): React.ComponentClass<EP> | ||
propsMap: PropsMap, | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: IResolve) => any, | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: Resolve) => any, | ||
component: React.ComponentClass<any> | React.SFC<any> | ||
@@ -36,3 +36,3 @@ ): React.ComponentClass<any> | ||
propsMap: PropsMap, | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: IResolve) => any | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: Resolve) => any | ||
): ComponentDecorator |
{ | ||
"name": "@cerebral/react", | ||
"version": "3.2.0-1519013188625", | ||
"version": "3.2.0-1519072252617", | ||
"description": "React view for Cerebral", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/react": "^16.0.35", | ||
"@types/react": "^16.0.34", | ||
"@types/react-dom": "^16.0.3", | ||
@@ -27,3 +27,3 @@ "jest": "^22.1.1", | ||
"dependencies": { | ||
"cerebral": "^4.2.0-1519013188625" | ||
"cerebral": "^4.2.0-1519072252617" | ||
}, | ||
@@ -30,0 +30,0 @@ "scripts": { |
@@ -97,3 +97,3 @@ # @cerebral/react | ||
- **props** are the props passed into the component by the parent. | ||
- **ownProps** are the props passed into the component by the parent. | ||
@@ -100,0 +100,0 @@ - **resolve** allows you to resolve computed etc., just like resolve in actions. |
27339