import * as React from 'react'; import './style/index.less'; export type RadioGroupSize = 'xs' | 'sm' | 'md' | 'lg'; export type RadioGroupColor = 'primary' | 'red' | 'orange'; interface options { label: string; value: string | number; disabled?: boolean; size?: RadioGroupSize; color?: string; name?: string; } interface RadioGroupOptions { children: React.ReactNode; defaultValue: string | number; options: Array; disabled: boolean; value: string | number; name: string; size: RadioGroupSize; color: string; optionType: string; vertical: boolean; buttonStyle: 'solid' | 'outline'; onChange?: (e: React.MouseEventHandler) => void; } export type RadioGroupProps = Partial; declare const RadioGroup: React.FC; export default RadioGroup;