File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed
tdesign-mobile-react/src/radio Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export interface TdRadioGroupProps<T = RadioValue> {
150
150
/**
151
151
* 选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性
152
152
*/
153
- onChange ?: ( value : T , context : { e : ChangeEvent < HTMLDivElement > ; name ?: string } ) => void ;
153
+ onChange ?: ( value : T , context : { e : ChangeEvent < HTMLInputElement > ; name ?: string } ) => void ;
154
154
}
155
155
156
156
export type RadioOption = string | number | RadioOptionObj ;
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ export interface TdRadioGroupProps<T = RadioValue> {
102
102
/**
103
103
* 选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性
104
104
*/
105
- onChange ?: ( value : T , context : { e : ChangeEvent < HTMLDivElement > ; name ?: string } ) => void ;
105
+ onChange ?: ( value : T , context : { e : ChangeEvent < HTMLInputElement > ; name ?: string } ) => void ;
106
106
}
107
107
108
108
export type RadioOption = string | number | RadioOptionObj ;
Original file line number Diff line number Diff line change 90494
90494
"syntactic_sugar": null,
90495
90495
"readonly": 1,
90496
90496
"html_attribute": 0,
90497
- "trigger_elements": "",
90497
+ "trigger_elements": "ChangeEvent<HTMLInputElement> ",
90498
90498
"deprecated": 0,
90499
90499
"version": null,
90500
90500
"test_description": null,
You can’t perform that action at this time.
0 commit comments