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 +0 -1
- package/lib/index.js +1 -3
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
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
|
),
|