react-interface
Advanced tools
Comparing version 0.9.4-alpha.0.0.8 to 0.9.4-alpha.0.0.9
@@ -31,12 +31,16 @@ 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; }; | ||
var type = _ref.type, | ||
rest = _objectWithoutProperties(_ref, ["type"]); | ||
size = _ref.size, | ||
color = _ref.color, | ||
rest = _objectWithoutProperties(_ref, ["type", "size", "color"]); | ||
return React.createElement( | ||
Wrapper, | ||
_extends({ className: "ri-icon" }, rest), | ||
_extends({ | ||
className: "ri-icon", | ||
size: size, | ||
color: color | ||
}, rest), | ||
React.createElement(icons[type.split("-").map(function (t) { | ||
return capitalize(t); | ||
}).join("")] | ||
// { ...rest } | ||
) | ||
}).join("")], { size: size, color: color }) | ||
); | ||
@@ -43,0 +47,0 @@ }; |
@@ -49,12 +49,16 @@ "use strict"; | ||
var type = _ref.type, | ||
rest = _objectWithoutProperties(_ref, ["type"]); | ||
size = _ref.size, | ||
color = _ref.color, | ||
rest = _objectWithoutProperties(_ref, ["type", "size", "color"]); | ||
return _react2.default.createElement( | ||
Wrapper, | ||
_extends({ className: "ri-icon" }, rest), | ||
_extends({ | ||
className: "ri-icon", | ||
size: size, | ||
color: color | ||
}, rest), | ||
_react2.default.createElement(icons[type.split("-").map(function (t) { | ||
return capitalize(t); | ||
}).join("")] | ||
// { ...rest } | ||
) | ||
}).join("")], { size: size, color: color }) | ||
); | ||
@@ -61,0 +65,0 @@ }; |
{ | ||
"name": "react-interface", | ||
"version": "0.9.4-alpha.0.0.8", | ||
"version": "0.9.4-alpha.0.0.9", | ||
"description": "react-interface React component", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
146680
2924