@codacy/ui-components 0.65.87 → 0.65.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Icon/Icon.js +2 -6
- package/package.json +1 -1
package/lib/Icon/Icon.js
CHANGED
|
@@ -12,7 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _Icon = require("./Icon.styles");
|
|
13
13
|
var _hooks = require("../hooks");
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
-
var _excluded = ["icon", "size", "title"
|
|
15
|
+
var _excluded = ["icon", "size", "title"];
|
|
16
16
|
/**
|
|
17
17
|
* Description for Icon
|
|
18
18
|
*/
|
|
@@ -20,7 +20,6 @@ var Icon = exports.Icon = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, re
|
|
|
20
20
|
var icon = _ref.icon,
|
|
21
21
|
size = _ref.size,
|
|
22
22
|
title = _ref.title,
|
|
23
|
-
color = _ref.color,
|
|
24
23
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
25
24
|
var IconComponent = icon;
|
|
26
25
|
var safeRef = (0, _hooks.useForwardedRef)(ref);
|
|
@@ -35,9 +34,6 @@ var Icon = exports.Icon = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, re
|
|
|
35
34
|
iconSize: size,
|
|
36
35
|
role: "img"
|
|
37
36
|
}, props), {}, {
|
|
38
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, {
|
|
39
|
-
width: "inherit",
|
|
40
|
-
height: "inherit"
|
|
41
|
-
})
|
|
37
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, {})
|
|
42
38
|
}));
|
|
43
39
|
});
|