import { ReactNode } from 'react'; import { RadioGroupProps as ArcoRadioGroupProps } from '../Radio/interface'; export declare type OutlinedRadioGroupDisplayType = 'text' | 'icon'; export interface OutlinedRadioGroupOption { label: ReactNode; active?: ReactNode; value: any; disabled?: boolean; } /** * @title OutlinedRadioGroup */ export interface OutlinedRadioGroupProps extends Omit { /** * @zh 选项配置 * @en Option list */ options: OutlinedRadioGroupOption[]; /** * @zh 展示类型:`text` 文本模式,`icon` 图标模式(选中时展示 `active` 内容) * @en Display type: `text` for labels, `icon` to show `active` content when checked * @defaultValue text */ displayType?: OutlinedRadioGroupDisplayType; /** * @zh 选项间距(px),通过 flex `gap` 控制 * @en Gap between options in px, via flex `gap` * @defaultValue 0 */ gap?: number; }