dhre-ui-kit 0.0.215 → 0.0.216

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/index.mjs CHANGED
@@ -1962,11 +1962,11 @@ const Accordion = ({
1962
1962
  }
1963
1963
  }
1964
1964
  ),
1965
- React.cloneElement(icon, {
1965
+ icon ? React.cloneElement(icon, {
1966
1966
  width: moderateScale(20),
1967
1967
  height: moderateScale(20),
1968
1968
  style: styles$m.iconStyle
1969
- })
1969
+ }) : null
1970
1970
  ),
1971
1971
  optionalElement ? optionalElement() : null,
1972
1972
  isOpen && /* @__PURE__ */ React.createElement(Animated.View, { style: [styles$m.content, { height: cardHeight }] }, /* @__PURE__ */ React.createElement(