File tree Expand file tree Collapse file tree 4 files changed +9
-0
lines changed
Expand file tree Collapse file tree 4 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @clerk/clerk-js ' : patch
3+ ' @clerk/types ' : patch
4+ ---
5+
6+ Add success text descriptor to otp input field.
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ export const APPEARANCE_KEYS = containsAllElementsConfigKeys([
102102 'otpCodeFieldInput' ,
103103 'otpCodeFieldInputContainer' ,
104104 'otpCodeFieldErrorText' ,
105+ 'otpCodeFieldSuccessText' ,
105106 'formResendCodeLink' ,
106107
107108 'dividerRow' ,
Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ const OTPInput = (props: OTPInputProps) => {
295295 center
296296 elementDescriptors = { {
297297 error : descriptors . otpCodeFieldErrorText ,
298+ success : descriptors . otpCodeFieldSuccessText ,
298299 } }
299300 />
300301 </ Flex >
Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ export type ElementsConfig = {
230230 otpCodeFieldInput : WithOptions ;
231231 otpCodeFieldInputContainer : WithOptions ;
232232 otpCodeFieldErrorText : WithOptions ;
233+ otpCodeFieldSuccessText : WithOptions ;
233234
234235 dividerRow : WithOptions ;
235236 dividerColumn : WithOptions ;
You can’t perform that action at this time.
0 commit comments