import * as React from 'react'; import { LabelValueItemInterface } from '../_utils/interfaces'; export interface RadioGroupProps { /** 类型 */ type?: 'page-bg' | 'menu-bg' | 'assist-bg'; /** 大小 */ size?: 'compact'; /** 选择回调 */ onChange?: (value: string) => void; /** 配置项 */ options: (LabelValueItemInterface | string)[]; /** 默认当前值 */ defaultValue?: string; /** 当前值 */ value?: string; /** 整组失效 */ disabled?: boolean; /** label 关键字替换 */ labelKey?: string; /** value 关键字替换 */ valueKey?: string; /** 类名 */ className?: string; /** 单元类名 */ itemClassName?: string; /** 自定义渲染单元 */ renderItem?: (item: LabelValueItemInterface) => React.ReactNode; /** 单选框类型 */ radioType?: 'button' | 'nav'; } declare const RadioGroup: React.ForwardRefExoticComponent>; declare const RadioGroupMemo: React.FC; export { RadioGroupMemo }; export default RadioGroup;