Initial commit
This commit is contained in:
commit
db896255d6
744 changed files with 56028 additions and 0 deletions
15
web/app/components/base/radio/index.tsx
Normal file
15
web/app/components/base/radio/index.tsx
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue