wwf
2025-05-20 938c3e5a587ce950a94964ea509b9e7f8834dfae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import type React from 'react'
import type { IRadioProps } from './component/radio'
import RadioComps from './component/radio'
import Group from './component/group'
 
type CompoundedComponent = {
  Group: typeof Group
} & React.ForwardRefExoticComponent<IRadioProps & React.RefAttributes<HTMLElement>>
 
const Radio = RadioComps as CompoundedComponent
/**
 * Radio 组件出现一般是以一组的形式出现
 */
Radio.Group = Group
export default Radio