@symbo.ls/uikit 2.11.21 → 2.11.24

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/dist/index.cjs.js CHANGED
@@ -11899,7 +11899,7 @@ var Icon = {
11899
11899
  console.warn("Can't find icon:", iconName, validIconName);
11900
11900
  }
11901
11901
  const iconFromLibrary = ICONS[validIconName];
11902
- const directSrc = parent.props.src || props3.src;
11902
+ const directSrc = parent && parent.props && parent.props.src || props3.src;
11903
11903
  return {
11904
11904
  width: "A",
11905
11905
  height: "A",