dhre-ui-kit 0.0.224 → 0.0.225

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
@@ -3054,7 +3054,8 @@ const ScrollableList = ({
3054
3054
  selectedItemStyle,
3055
3055
  selectedItemTextColor = "CONTENT_PRIMARY",
3056
3056
  defaultItemTextColor = "CONTENT_SECONDRY",
3057
- activeTab
3057
+ activeTab,
3058
+ errorStyle
3058
3059
  }) => {
3059
3060
  const [selectedItem, setSelectedItem] = useState(
3060
3061
  data && data.length > 0 ? data[0].name : null
@@ -3096,7 +3097,7 @@ const ScrollableList = ({
3096
3097
  textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor
3097
3098
  }
3098
3099
  ),
3099
- item?.isError && /* @__PURE__ */ React.createElement(View, { style: [styles.errorViewStyle] })
3100
+ item?.isError && /* @__PURE__ */ React.createElement(View, { style: [styles.errorViewStyle, errorStyle] })
3100
3101
  ))
3101
3102
  ));
3102
3103
  };