dhre-ui-kit 0.0.156 → 0.0.157

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
@@ -3208,26 +3208,27 @@ const styles$9 = StyleSheet.create({
3208
3208
  }
3209
3209
  });
3210
3210
 
3211
- const CommonTextInput = ({
3212
- label,
3213
- value,
3214
- onChangeText,
3215
- isSecureTextEntry = false,
3216
- keyboardType = "default",
3217
- placeholderText,
3218
- activeBorderColor = theme.CONTENT_PRIMARY["light"],
3219
- inactiveBorderColor = theme.BORDER_PRIMARY["light"],
3220
- inputStyle,
3221
- maxLength,
3222
- errorMessage,
3223
- editable = true,
3224
- textColor = theme.CONTENT_PRIMARY["light"],
3225
- labelColor,
3226
- handlePress,
3227
- pointerEvents,
3228
- multiline = false
3229
- // Default multiline to false
3230
- }) => {
3211
+ const CommonTextInput = (props) => {
3212
+ const {
3213
+ label,
3214
+ value,
3215
+ onChangeText,
3216
+ isSecureTextEntry = false,
3217
+ keyboardType = "default",
3218
+ placeholderText,
3219
+ activeBorderColor = theme.CONTENT_PRIMARY["light"],
3220
+ inactiveBorderColor = theme.BORDER_PRIMARY["light"],
3221
+ inputStyle,
3222
+ maxLength,
3223
+ errorMessage,
3224
+ editable = true,
3225
+ textColor = theme.CONTENT_PRIMARY["light"],
3226
+ labelColor,
3227
+ handlePress,
3228
+ pointerEvents,
3229
+ multiline = false
3230
+ // Default multiline to false
3231
+ } = props;
3231
3232
  return /* @__PURE__ */ React.createElement(Pressable, { onPress: handlePress, style: styles$8.container }, /* @__PURE__ */ React.createElement(
3232
3233
  TextInput$1,
3233
3234
  {
@@ -3258,7 +3259,8 @@ const CommonTextInput = ({
3258
3259
  editable,
3259
3260
  pointerEvents,
3260
3261
  multiline,
3261
- numberOfLines: multiline ? 4 : 1
3262
+ numberOfLines: multiline ? 4 : 1,
3263
+ ...props
3262
3264
  }
3263
3265
  ), errorMessage ? /* @__PURE__ */ React.createElement(
3264
3266
  CustomTypography,