dhre-ui-kit 0.0.227 → 0.0.229
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 +1 -0
- package/lib/index.js +11 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +11 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -3135,7 +3135,15 @@ const ScrollableList = ({
|
|
|
3135
3135
|
textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor
|
|
3136
3136
|
}
|
|
3137
3137
|
),
|
|
3138
|
-
item?.isError
|
|
3138
|
+
item?.isError ? /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles.errorViewStyle, errorStyle] }, item?.errorText ? /* @__PURE__ */ React__default["default"].createElement(
|
|
3139
|
+
CustomText$1,
|
|
3140
|
+
{
|
|
3141
|
+
text: item?.errorText,
|
|
3142
|
+
variant: FontStyle.L2_REGULAR,
|
|
3143
|
+
textColor: Theme.CONTENT_PRIMARY,
|
|
3144
|
+
style: styles.errorTextStyle
|
|
3145
|
+
}
|
|
3146
|
+
) : "") : null
|
|
3139
3147
|
))
|
|
3140
3148
|
));
|
|
3141
3149
|
};
|
|
@@ -3165,7 +3173,8 @@ const createStyles$2 = (theme) => {
|
|
|
3165
3173
|
height: 6,
|
|
3166
3174
|
borderRadius: 100,
|
|
3167
3175
|
backgroundColor: theme[Theme.BORDER_INVERTED]
|
|
3168
|
-
}
|
|
3176
|
+
},
|
|
3177
|
+
errorTextStyle: { justifyContent: "center", alignSelf: "center" }
|
|
3169
3178
|
});
|
|
3170
3179
|
};
|
|
3171
3180
|
var category = withThemeProvider(ScrollableList);
|