Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "njsx", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "No-JSX: A customizable interface for creating React and React-Native components without JSX syntax.", | ||
@@ -5,0 +5,0 @@ "repository": "uqbar-project/njsx", |
@@ -29,3 +29,3 @@ Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i];}return arr2;}else{return Array.from(arr);}}exports.default={ | ||
NJSX_COMPONENT_AS_CHILD:{ | ||
appliesTo:function appliesTo(arg){return arg.isNJSXComponent;}, | ||
appliesTo:function appliesTo(arg){return typeof arg==='object'&&arg.isNJSXComponent;}, | ||
apply:function apply(arg,_ref6){var props=_ref6.props,children=_ref6.children;return{props:props,children:[].concat(_toConsumableArray(children),[arg()])};}}, | ||
@@ -32,0 +32,0 @@ |
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
26234