import type * as React from 'react'; import InternalRadio from './radio'; import Group from './group'; import Button from './radioButton'; import type { RadioProps } from './interface'; export { RadioGroupButtonStyle, RadioGroupOptionType, RadioGroupProps, RadioGroupContextProps, RadioProps, RadioChangeEventTarget, RadioChangeEvent, } from './interface'; interface CompoundedComponent extends React.ForwardRefExoticComponent> { Group: typeof Group; Button: typeof Button; } const Radio = InternalRadio as CompoundedComponent; Radio.Button = Button; Radio.Group = Group; export { Button, Group }; export default Radio;