Skip to content

Commit

Permalink
fix: 修复 radio 类型问题 (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
honkinglin authored Mar 30, 2023
1 parent 4ede534 commit 8a7e7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radio/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export interface TdRadioGroupProps<T = RadioValue> {
/**
* 选中值发生变化时触发
*/
onChange?: (value: T, context: { e: ChangeEvent<HTMLDivElement> }) => void;
onChange?: (value: T, context: { e: ChangeEvent<HTMLInputElement> }) => void;
}

export type RadioValue = string | number | boolean;
Expand Down

0 comments on commit 8a7e7e4

Please sign in to comment.