@cerebral/react
Advanced tools
Comparing version 4.0.0-1514099265786 to 4.0.0-1519463520217
import * as React from 'react' | ||
import { ResolveValue, Resolve } from 'function-tree' | ||
import { ResolveValue, IResolve } from 'function-tree' | ||
@@ -17,3 +17,3 @@ interface PropsMap { | ||
propsMap: PropsMap, | ||
overrideProps: (dependencyProps: any, ownProps: EP, resolve: Resolve) => Partial<P & EP>, | ||
overrideProps: (dependencyProps: any, ownProps: EP, resolve: IResolve) => 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: Resolve) => any, | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: IResolve) => any, | ||
component: React.ComponentClass<any> | React.SFC<any> | ||
@@ -36,3 +36,3 @@ ): React.ComponentClass<any> | ||
propsMap: PropsMap, | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: Resolve) => any | ||
overrideProps: (dependencyProps: any, ownProps: any, resolve: IResolve) => any | ||
): ComponentDecorator |
{ | ||
"name": "@cerebral/react", | ||
"version": "4.0.0-1514099265786", | ||
"version": "4.0.0-1519463520217", | ||
"description": "React view for Cerebral", | ||
@@ -20,9 +20,9 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@types/react": "^15.0.27", | ||
"@types/react-dom": "^15.5.0", | ||
"jest": "^18.1.0", | ||
"@types/react": "^16.0.35", | ||
"@types/react-dom": "^16.0.3", | ||
"jest": "^22.1.1", | ||
"prop-types": "^15.5.10" | ||
}, | ||
"dependencies": { | ||
"cerebral": "^5.0.0-1514099265786" | ||
"cerebral": "^5.0.0-1519463520217" | ||
}, | ||
@@ -29,0 +29,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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27343