dhre-ui-kit 0.0.161 → 0.0.163

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.js CHANGED
@@ -3293,6 +3293,7 @@ const CommonTextInput = (props) => {
3293
3293
  placeholder: placeholderText,
3294
3294
  editable,
3295
3295
  pointerEvents,
3296
+ error: errorMessage?.length ? true : false,
3296
3297
  multiline,
3297
3298
  numberOfLines: multiline ? 4 : 1,
3298
3299
  right: rightIcon ? /* @__PURE__ */ React__default["default"].createElement(
@@ -3333,6 +3334,8 @@ const styles$8 = reactNative.StyleSheet.create({
3333
3334
  errorInput: {
3334
3335
  marginTop: verticalScale(12),
3335
3336
  backgroundColor: DHRE_COLORS_TEXT.DH_WHITE,
3337
+ borderWidth: 1,
3338
+ borderColor: DHRE_DEFAULT.DH_ERROR,
3336
3339
  paddingVertical: 0,
3337
3340
  height: verticalScale(48),
3338
3341
  justifyContent: "center"