/** * DbRadio - 单选组件 * * 特性: * - 支持左右布局(左侧选择框右侧文字 / 左侧文字右侧选择框) * - 整行可点击,提升用户体验 * - 支持描述文字 * - 支持自定义选中/未选中图标 * - 支持受控和非受控模式 * - 支持自定义 Radio 样式(大小、边框、颜色等) * - 支持自定义 label 样式和内容 */ import { DbRadioProps, DbRadioItemProps, DbRadioGroupProps } from './DbRadio.types'; export declare const DbRadioItem: ({ value, label, labelContent, checked: checkedProp, disabled, description, descriptionContent, layout, size, activeColor, inactiveColor, radioConfig, onPress, style, labelStyle, descriptionStyle, labelColor, descriptionColor, renderChecked, renderUnchecked, }: DbRadioItemProps) => JSX.Element; export declare const DbRadioGroup: ({ value: valueProp, defaultValue, onChange, options, disabled, layout, size, activeColor, inactiveColor, radioConfig, spacing, style, itemStyle, labelStyle, descriptionStyle, labelColor, descriptionColor, renderChecked, renderUnchecked, children, }: DbRadioGroupProps) => JSX.Element; declare const DbRadio: { (props: DbRadioProps): JSX.Element; displayName: string; Item: ({ value, label, labelContent, checked: checkedProp, disabled, description, descriptionContent, layout, size, activeColor, inactiveColor, radioConfig, onPress, style, labelStyle, descriptionStyle, labelColor, descriptionColor, renderChecked, renderUnchecked, }: DbRadioItemProps) => JSX.Element; Group: ({ value: valueProp, defaultValue, onChange, options, disabled, layout, size, activeColor, inactiveColor, radioConfig, spacing, style, itemStyle, labelStyle, descriptionStyle, labelColor, descriptionColor, renderChecked, renderUnchecked, children, }: DbRadioGroupProps) => JSX.Element; }; export default DbRadio; export type { DbRadioProps, DbRadioItemProps, DbRadioGroupProps, RadioOption, RadioLayout, RadioStyleConfig, } from './DbRadio.types';