import { StyleProp, ViewStyle, TextStyle } from 'react-native'; import type { RadioOption, RadioStyleConfig, RadioLayout } from '../DbRadio/DbRadio.types'; import type { DbTitlePairProps } from '../DbTitlePair/DbTitlePair.types'; /** * 弹窗模式 * - input: 文本输入模式(类似订单备注) * - radio: 单选模式(类似选择退货原因) * - custom: 自定义模式(完全自定义弹窗内容) */ export type PopupFieldMode = 'input' | 'radio' | 'custom'; /** 自定义模式配置(mode='custom' 时生效) */ export interface PopupFieldCustomConfig { /** * 自定义弹窗内容渲染函数 * 返回 ReactNode 作为弹窗的主体内容 * * @example * customContent={( * * 自定义内容 *