@@ -141,6 +141,18 @@ type _InputOnKeyboardheightchange = (
141
141
event : _InputOnKeyboardheightchangeEvent ,
142
142
) => void ;
143
143
144
+ interface _InputOnNicknamereviewDetail {
145
+ /** 昵称审核是否通过 */
146
+ pass : boolean ;
147
+ /** 是否超时 */
148
+ timeout : boolean ;
149
+ }
150
+
151
+ type _InputOnNicknamereviewEvent = CustomEvent < _InputOnNicknamereviewDetail > ;
152
+
153
+ /** 用户昵称审核完毕后触发,仅在 type 为 "nickname" 时有效 */
154
+ type _InputOnNicknamereview = ( event : _InputOnNicknamereviewEvent ) => void ;
155
+
144
156
/** 输入框属性 */
145
157
type _InputProps = CommonProps &
146
158
Partial < {
@@ -363,6 +375,8 @@ type _InputProps = CommonProps &
363
375
onConfirm : _InputOnConfirm ;
364
376
/** 键盘高度变化时触发 */
365
377
onKeyboardheightchange : _InputOnKeyboardheightchange ;
378
+ /** 用户昵称审核完毕后触发,仅在 type 为 "nickname" 时有效 */
379
+ onNicknamereview : _InputOnNicknamereview ;
366
380
} > ;
367
381
368
382
/** 输入框 */
@@ -392,6 +406,9 @@ export type {
392
406
_InputOnKeyboardheightchangeDetail as InputOnKeyboardheightchangeDetail ,
393
407
_InputOnKeyboardheightchangeEvent as InputOnKeyboardheightchangeEvent ,
394
408
_InputOnKeyboardheightchange as InputOnKeyboardheightchange ,
409
+ _InputOnNicknamereviewDetail as InputOnNicknamereviewDetail ,
410
+ _InputOnNicknamereviewEvent as InputOnNicknamereviewEvent ,
411
+ _InputOnNicknamereview as InputOnNicknamereview ,
395
412
_InputProps as InputProps ,
396
413
_Input as Input ,
397
414
_InputInstance as InputInstance ,
@@ -484,6 +501,11 @@ declare global {
484
501
/** 键盘高度变化时触发 */
485
502
export interface InputOnKeyboardheightchange
486
503
extends _InputOnKeyboardheightchange { }
504
+ export interface InputOnNicknamereviewDetail
505
+ extends _InputOnNicknamereviewDetail { }
506
+ export type InputOnNicknamereviewEvent = _InputOnNicknamereviewEvent ;
507
+ /** 用户昵称审核完毕后触发,仅在 type 为 "nickname" 时有效 */
508
+ export interface InputOnNicknamereview extends _InputOnNicknamereview { }
487
509
/** 输入框属性 */
488
510
export type InputProps = _InputProps ;
489
511
/** 输入框 */
0 commit comments