@cicada/render
Advanced tools
Comparing version 1.1.19 to 1.1.20
@@ -348,3 +348,3 @@ 'use strict'; | ||
background: _propTypes2.default.object.isRequired, | ||
components: _propTypes2.default.object, | ||
components: _propTypes2.default.oneOfType([_propTypes2.default.object, _propTypes2.default.func]), | ||
onChange: _propTypes2.default.func, | ||
@@ -351,0 +351,0 @@ getRenderScopes: _propTypes2.default.func |
@@ -141,4 +141,4 @@ 'use strict'; | ||
config: _propTypes2.default.object, | ||
components: _propTypes2.default.object | ||
components: _propTypes2.default.oneOfType([_propTypes2.default.object, _propTypes2.default.func]) | ||
}; | ||
exports.default = NaiveRender; |
@@ -202,3 +202,3 @@ 'use strict'; | ||
config: _propTypes2.default.object, | ||
components: _propTypes2.default.object, | ||
components: _propTypes2.default.oneOfType([_propTypes2.default.object, _propTypes2.default.func]), | ||
didMount: _propTypes2.default.func, | ||
@@ -211,3 +211,3 @@ // CAUTION 这个字段决定了整个 Render 是不是受控的,fragment 和 动态组件就是受控的 | ||
appearance: _propTypes2.default.object, | ||
components: _propTypes2.default.object, | ||
components: _propTypes2.default.oneOfType([_propTypes2.default.object, _propTypes2.default.func]), | ||
getScopes: _propTypes2.default.func, | ||
@@ -220,5 +220,5 @@ getStatePath: _propTypes2.default.func, | ||
Render.contextTypes = { | ||
components: _propTypes2.default.object, | ||
components: _propTypes2.default.oneOfType([_propTypes2.default.object, _propTypes2.default.func]), | ||
getRenderScopes: _propTypes2.default.func | ||
}; | ||
exports.default = Render; |
{ | ||
"name": "@cicada/render", | ||
"version": "1.1.19", | ||
"version": "1.1.20", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
400471