@cypress-design/react-statusicon 0.2.1 → 0.2.3
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/CHANGELOG.md +16 -0
- package/dist/index.es.mjs +1 -1
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -290,7 +290,7 @@ function __rest(s, e) {
|
|
|
290
290
|
var compileReactIconProperties = function (_a) {
|
|
291
291
|
var body = _a.body, compiledClasses = _a.compiledClasses, size = _a.size, attributes = __rest(_a, ["body", "compiledClasses", "size"]);
|
|
292
292
|
var filteredAttributes = Object.keys(attributes).reduce(function (newAttributes, attrName) {
|
|
293
|
-
if (!iconsRegistry.ICON_COLOR_PROP_NAMES.includes(attrName)) {
|
|
293
|
+
if (!iconsRegistry.ICON_COLOR_PROP_NAMES.includes(attrName) && attrName !== 'name') {
|
|
294
294
|
newAttributes[attrName] =
|
|
295
295
|
attributes[attrName];
|
|
296
296
|
}
|