Skip to content

Commit

Permalink
fix: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Dec 13, 2024
1 parent 583c959 commit 85127dd
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 @@ -102,7 +102,7 @@ export interface TdRadioGroupProps<T = RadioValue> {
/**
* 选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性
*/
onChange?: (value: T, context: { e: ChangeEvent<HTMLInputElement>; name?: string }) => void;
onChange?: (value: T, context: { e: ChangeEvent<HTMLDivElement>; name?: string }) => void;
}

export type RadioOption = string | number | RadioOptionObj;
Expand Down

0 comments on commit 85127dd

Please sign in to comment.