dhre-ui-kit 0.0.215 → 0.0.217

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(
@@ -4640,9 +4640,9 @@ const PropertyDetails = ({
4640
4640
  {
4641
4641
  style: {
4642
4642
  ...styles$1.container,
4643
- ...containerStyle,
4644
4643
  backgroundColor: theme.SURFACE_SECONDARY,
4645
- borderColor: theme.BORDER_SEPERATOR_HEADER
4644
+ borderColor: theme.BORDER_SEPERATOR_HEADER,
4645
+ ...containerStyle
4646
4646
  }
4647
4647
  },
4648
4648
  React.cloneElement(icon, {