You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import InternalRadio from './radio';
|
|
|
|
import Group from './group';
|
|
|
|
import Button from './radioButton';
|
|
|
|
import { RadioProps } from './interface';
|
|
|
|
|
|
|
|
export * from './interface';
|
|
|
|
interface CompoundedComponent
|
|
|
|
extends React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLElement>> {
|
|
|
|
Group: typeof Group;
|
|
|
|
Button: typeof Button;
|
|
|
|
}
|
|
|
|
|
|
|
|
const Radio = InternalRadio as CompoundedComponent;
|
|
|
|
Radio.Button = Button;
|
|
|
|
Radio.Group = Group;
|
|
|
|
export { Button, Group };
|
|
|
|
export default Radio;
|