import { PropsWithChildren } from "react"; interface RadioProps { /** 数据*/ data: Array; /** 默认选中索引*/ defaultIndex?: number; /** 回调值 */ callback?: (arr: Array) => void; /** 额外类名 */ className?: string; /** 禁用索引 */ disableIndex?: Array; } declare function Radio(props: PropsWithChildren): JSX.Element; declare namespace Radio { var defaultProps: { data: any[]; }; } export default Radio;