fix: Radio typescript error typo (#24693)

This commit is contained in:
Tom Xu 2020-06-02 20:56:23 +08:00 committed by GitHub
parent d0d75a6e54
commit f4ee809e66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ export * from './interface';
interface CompoundedComponent
extends React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLElement>> {
Group: typeof Group;
Button: typeof Group;
Button: typeof Button;
}
const Radio = InternalRadio as CompoundedComponent;