Files
ant-design/components/radio/index.tsx
lijianan 364bcc74d1 type: export components SemanticName type (#56494)
* types: export components SemanticName type

* update

* update

* update

* update

* update
2026-01-08 09:25:17 +08:00

33 lines
695 B
TypeScript

import Group from './group';
import InternalRadio from './radio';
import Button from './radioButton';
export type {
RadioChangeEvent,
RadioChangeEventTarget,
RadioGroupButtonStyle,
RadioGroupContextProps,
RadioGroupOptionType,
RadioGroupProps,
RadioProps,
RadioRef,
RadioSemanticClassNames,
RadioSemanticName,
RadioSemanticStyles,
} from './interface';
export { Button, Group };
type CompoundedComponent = typeof InternalRadio & {
Group: typeof Group;
Button: typeof Button;
/** @internal */
__ANT_RADIO: boolean;
};
const Radio = InternalRadio as CompoundedComponent;
Radio.Button = Button;
Radio.Group = Group;
Radio.__ANT_RADIO = true;
export default Radio;