import { DrawerProps } from 'antd'; import React, { ReactNode } from 'react'; export interface ISlideDrawerType extends Omit { visible?: boolean; /** 加载状态 */ loading?: boolean; /** 弹窗标题 */ title: ReactNode; /** 抽屉宽度 */ width?: string | number; /** 抽屉模式 */ mode?: 'normal' | 'page'; /** 内容部分的padding值 */ contentPadding?: string; /** 抽屉最大宽度 */ maxWidth?: string | number; /** 抽屉最小宽度 */ minWidth?: string | number; /** 自定义类名 */ className?: string; /** 关闭弹窗的执行函数 */ onClose: () => void; /** !是否展示底部按钮(v1.1.17已废弃,直接使用footer即可) */ showFooter?: boolean; /** 底部按钮插槽,如要移除footer可将其设置为null */ footer?: ReactNode; } declare const _default: React.NamedExoticComponent; export default _default;