dhre-ui-kit 0.0.309 → 0.0.310
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 +2 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +2 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -4089,6 +4089,7 @@ const OTPInput = React__default["default"].forwardRef(
|
|
|
4089
4089
|
resendOTP,
|
|
4090
4090
|
errorMessage,
|
|
4091
4091
|
testId = "",
|
|
4092
|
+
errorMessageMaxReachCountProps,
|
|
4092
4093
|
otpContainerStyle,
|
|
4093
4094
|
otpHeaderTextStyle,
|
|
4094
4095
|
textInputStyle,
|
|
@@ -4135,7 +4136,7 @@ const OTPInput = React__default["default"].forwardRef(
|
|
|
4135
4136
|
const onClickResendOTP = () => {
|
|
4136
4137
|
if (resendOTPCount > maxResendCount - 1) {
|
|
4137
4138
|
setErrorMessageMaxReachCount(
|
|
4138
|
-
"You have exceeded the maximum number of attempts."
|
|
4139
|
+
errorMessageMaxReachCountProps ? errorMessageMaxReachCountProps : "You have exceeded the maximum number of attempts."
|
|
4139
4140
|
);
|
|
4140
4141
|
}
|
|
4141
4142
|
if (resendOTPCount < maxResendCount) {
|