feat: radiogroup support any label&value #4720

pull/4723/head
tangjinzhou 2021-10-01 15:10:20 +08:00
parent 84341ef912
commit 4021e89b15
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ const RadioGroupOptionTypes = tuple('default', 'button');
export type RadioGroupOption = typeof RadioGroupOptionTypes[number]; export type RadioGroupOption = typeof RadioGroupOptionTypes[number];
export type RadioGroupChildOption = { export type RadioGroupChildOption = {
label: string; label: any;
value: string; value: any;
disabled?: boolean; disabled?: boolean;
}; };