import React, { Ref } from "react"; import { Omit } from "../_type"; import { CheckProps, Check } from "../check"; import { RadioGroup } from "./RadioGroup"; import { forwardRefWithStatics } from "../_util/forward-ref-with-statics"; /** * Radio 组件所接收的属性 */ export interface RadioProps extends Omit {} export const Radio = forwardRefWithStatics( (props: RadioProps, ref: Ref) => { return ; }, // statics { Group: RadioGroup, } ); Radio.displayName = "Radio";