Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-interface

Package Overview
Dependencies
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-interface - npm Package Compare versions

Comparing version 0.9.4-alpha.0.0.8 to 0.9.4-alpha.0.0.9

14

es/components/Icon/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc