2015-08-21 18:24:09 +08:00
|
|
|
import Group from './group';
|
2022-06-22 14:57:09 +08:00
|
|
|
import InternalRadio from './radio';
|
|
|
|
import Button from './radioButton';
|
2015-07-16 22:41:27 +08:00
|
|
|
|
2020-07-27 10:41:32 +08:00
|
|
|
export {
|
2022-06-22 14:57:09 +08:00
|
|
|
RadioChangeEvent,
|
|
|
|
RadioChangeEventTarget,
|
2020-07-27 10:41:32 +08:00
|
|
|
RadioGroupButtonStyle,
|
2022-06-22 14:57:09 +08:00
|
|
|
RadioGroupContextProps,
|
2020-07-27 10:41:32 +08:00
|
|
|
RadioGroupOptionType,
|
|
|
|
RadioGroupProps,
|
|
|
|
RadioProps,
|
2023-09-12 11:40:53 +08:00
|
|
|
RadioRef,
|
2020-07-27 10:41:32 +08:00
|
|
|
} from './interface';
|
2022-06-22 14:57:09 +08:00
|
|
|
export { Button, Group };
|
2022-11-19 16:56:23 +08:00
|
|
|
|
2024-04-09 16:49:47 +08:00
|
|
|
type CompoundedComponent = typeof InternalRadio & {
|
2020-06-02 14:12:04 +08:00
|
|
|
Group: typeof Group;
|
2020-06-02 20:56:23 +08:00
|
|
|
Button: typeof Button;
|
2022-09-30 14:26:41 +08:00
|
|
|
/** @internal */
|
2022-07-12 19:31:45 +08:00
|
|
|
__ANT_RADIO: boolean;
|
2022-11-19 16:56:23 +08:00
|
|
|
};
|
2017-09-25 22:14:49 +08:00
|
|
|
|
2020-06-02 14:12:04 +08:00
|
|
|
const Radio = InternalRadio as CompoundedComponent;
|
2016-03-21 21:16:38 +08:00
|
|
|
Radio.Button = Button;
|
|
|
|
Radio.Group = Group;
|
2022-07-12 19:31:45 +08:00
|
|
|
Radio.__ANT_RADIO = true;
|
2016-03-21 21:16:38 +08:00
|
|
|
export default Radio;
|