dhre-ui-kit 0.0.161 → 0.0.162

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
@@ -3260,6 +3260,7 @@ const CommonTextInput = (props) => {
3260
3260
  placeholder: placeholderText,
3261
3261
  editable,
3262
3262
  pointerEvents,
3263
+ error: errorMessage?.length ? true : false,
3263
3264
  multiline,
3264
3265
  numberOfLines: multiline ? 4 : 1,
3265
3266
  right: rightIcon ? /* @__PURE__ */ React.createElement(
@@ -3300,6 +3301,7 @@ const styles$8 = StyleSheet.create({
3300
3301
  errorInput: {
3301
3302
  marginTop: verticalScale(12),
3302
3303
  backgroundColor: DHRE_COLORS_TEXT.DH_WHITE,
3304
+ borderColor: DHRE_DEFAULT.DH_ERROR,
3303
3305
  paddingVertical: 0,
3304
3306
  height: verticalScale(48),
3305
3307
  justifyContent: "center"