Skip to content

Commit 4021e89

Browse files
committed
feat: radiogroup support any label&value #4720
1 parent 84341ef commit 4021e89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/radio/Group.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ const RadioGroupOptionTypes = tuple('default', 'button');
1717
export type RadioGroupOption = typeof RadioGroupOptionTypes[number];
1818

1919
export type RadioGroupChildOption = {
20-
label: string;
21-
value: string;
20+
label: any;
21+
value: any;
2222
disabled?: boolean;
2323
};
2424

0 commit comments

Comments
 (0)