/// import { TextFieldProps } from '@mui/material/TextField'; import { PopperPlacementType } from '@mui/material/Popper'; /** * DowndownRanderProps * @date 2023/4/1 - 17:19:03 * * @export * @typedef {DowndownRanderProps} */ export type DowndownRanderProps = { /** 关闭函数 */ close: () => void; /** 展开状态 */ open: boolean; }; /** 组件入参 * @extends TextFieldProps TextField入参 * @param DowndownRander 自定义下拉框组件 */ export type DropDownInputProps = TextFieldProps & { /** 自定义下拉框组件 */ downRander: ({ close }: DowndownRanderProps) => JSX.Element; /** 下拉框位置 * @default "bottom" */ placement?: PopperPlacementType; /** zIndex * @default 999 */ zIndex?: number; }; /** * 输入框下拉弹框 * @date 2023/4/1 - 17:19:37 * * @param {DropDownInputProps} { downRander, onFocus, placement, style = {}, zIndex = 999, ...props } * @returns {*} */ export declare const DropDownInput: ({ downRander, onFocus, placement, style, zIndex, ...props }: DropDownInputProps) => JSX.Element; //# sourceMappingURL=dropdown-input.d.ts.map