dhre-ui-kit 0.0.270 → 0.0.271

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
@@ -3027,7 +3027,8 @@ const ScrollableList = ({
3027
3027
  selectedItemTextColor = "CONTENT_PRIMARY",
3028
3028
  defaultItemTextColor = "CONTENT_SECONDRY",
3029
3029
  activeTab,
3030
- errorStyle
3030
+ errorStyle,
3031
+ textColor
3031
3032
  }) => {
3032
3033
  const [selectedItem, setSelectedItem] = useState(
3033
3034
  data && data.length > 0 ? data[0].name : null
@@ -3066,7 +3067,7 @@ const ScrollableList = ({
3066
3067
  {
3067
3068
  text: item.name,
3068
3069
  variant: "L1_REGULAR",
3069
- textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor
3070
+ textColor: (activeTab ?? selectedItem) === item.name ? textColor ?? selectedItemTextColor : defaultItemTextColor
3070
3071
  }
3071
3072
  ),
3072
3073
  item?.isError ? /* @__PURE__ */ React.createElement(View, { style: [styles.errorViewStyle, errorStyle] }, item?.errorText ? /* @__PURE__ */ React.createElement(