import React from 'react'; import { IconNames } from '../icon/web'; export interface DropDownMenuIremProps { /** * 外层样式 */ className?: string; /** * 子项目样式 */ itemCls?: string; /** * 最大高度 */ maxHeight?: string | number; /** * 子项目选中样式 */ itemSelectCls?: string; /** 当前所选值 */ value?: any; /** 显示的标题 */ title?: string; /** 所有选项*/ options?: { text: string; value: any; }[]; children?: React.ReactNode; /** 如果传递option值,发生变化会获得value值 */ onChange?: (val: any, item: { text: string; value: any; }) => void; icon?: IconNames; /** * 箭头的类名 */ arrowsCls?: string; /** * 箭头的颜色 */ arrowsColor?: string; arrowsSize?: number; /** * 自定义点击事件,如果返回false,不响应展开折叠 */ onTap?: () => boolean | void; /** * 标题类名 */ titleCls?: string; /** * 下拉类名 */ dowCls?: string; } declare const _default: (props: DropDownMenuIremProps) => React.JSX.Element; export default _default;