dhre-ui-kit 0.0.269 → 0.0.270

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.d.ts CHANGED
@@ -563,7 +563,6 @@ interface ScrollableListProps {
563
563
  defaultItemTextColor?: string;
564
564
  activeTab?: string;
565
565
  errorStyle?: object;
566
- textStyle?: TextStyle;
567
566
  }
568
567
  declare const _default$7: (props: ScrollableListProps) => React$1.JSX.Element;
569
568
 
package/lib/index.js CHANGED
@@ -3063,8 +3063,7 @@ const ScrollableList = ({
3063
3063
  selectedItemTextColor = "CONTENT_PRIMARY",
3064
3064
  defaultItemTextColor = "CONTENT_SECONDRY",
3065
3065
  activeTab,
3066
- errorStyle,
3067
- textStyle
3066
+ errorStyle
3068
3067
  }) => {
3069
3068
  const [selectedItem, setSelectedItem] = React.useState(
3070
3069
  data && data.length > 0 ? data[0].name : null
@@ -3103,7 +3102,6 @@ const ScrollableList = ({
3103
3102
  {
3104
3103
  text: item.name,
3105
3104
  variant: "L1_REGULAR",
3106
- style: textStyle,
3107
3105
  textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor
3108
3106
  }
3109
3107
  ),