import React from 'react'; import './index.scss'; /** * 选择器 */ export interface CustomSelectProps { /** * 弹出类型 */ popType?: 'dialog' | 'bottom' | 'normal'; /** * 选择类型 */ selectType?: 'number' | 'string' | 'color'; /** * 数据 */ dataList?: any[]; /** * 选中值 */ value?: any; /** * 前缀 */ prefix?: string; /** * 标题 */ dialogTitle?: string; /** * 按钮文字 */ btnText?: string; /** * 数据源绑定选项 */ options?: Array<{ label: string; value: string | number; }>; onChange?: (value: any) => void; } declare const CustomSelect: React.FC; export default CustomSelect;