/** * @description drawer api type * @author 阿怪 * @date 2022/4/16 23:32 * @version v1.0.0 * * @name m-drawer * @docDescription Drawer component with shuimo-ui style. * 水墨组件的抽屉组件。 * @docUrl https://shuimo.design/drawer * * 江湖的业务千篇一律,复杂的代码好几百行。 */ import { ModelMask } from '../../../types/common/model'; import { MTeleportProps } from '../../../types/common/common'; export declare type DrawerProps = { /** * @description drawer mask option * 抽屉背景配置 * @type ModelMask * @default show:true, clickClose:true */ mask?: ModelMask, /** * @description drawer visible value * 抽屉是否显示参数 * @type boolean * @default false */ visible?: boolean, /** * @description drawer class * 抽屉扩展类型 * @type string[] * @default [] */ drawerClass?: string[], /** * @description drawer direction * 抽屉出现方向 * @type 'top' | 'right' | 'bottom' | 'left' * @default right */ direction?: 'top' | 'right' | 'bottom' | 'left', /** * @description drawer teleport * 抽屉传送 * @type teleport props * @default '' */ teleport?: MTeleportProps };