fable-react
Advanced tools
Comparing version 0.7.13 to 0.7.14
{ | ||
"name": "fable-react", | ||
"version": "0.7.13", | ||
"version": "0.7.14", | ||
"description": "Fable bindings and helpers for React and React Native", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -267,5 +267,6 @@ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
function _switch(props, onValueChange) { | ||
function _switch(props, onValueChange, value) { | ||
return createElement(Switch, Object.assign({ | ||
onValueChange: onValueChange | ||
onValueChange: onValueChange, | ||
value: value | ||
}, props)); | ||
@@ -272,0 +273,0 @@ } |
@@ -415,5 +415,6 @@ (function (global, factory) { | ||
function _switch(props, onValueChange) { | ||
function _switch(props, onValueChange, value) { | ||
return (0, _react.createElement)(_reactNative.Switch, Object.assign({ | ||
onValueChange: onValueChange | ||
onValueChange: onValueChange, | ||
value: value | ||
}, props)); | ||
@@ -420,0 +421,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1702
2980121