UNPKG

vant

Version:

Mobile UI Components built on Vue

31 lines (30 loc) 969 B
import { Interceptor } from '../utils'; import type { PropType, CSSProperties, TeleportProps } from 'vue'; export declare const popupSharedProps: { show: BooleanConstructor; zIndex: (NumberConstructor | StringConstructor)[]; overlay: { type: BooleanConstructor; default: true; }; duration: (NumberConstructor | StringConstructor)[]; teleport: PropType<TeleportProps["to"]>; lockScroll: { type: BooleanConstructor; default: true; }; lazyRender: { type: BooleanConstructor; default: true; }; beforeClose: PropType<Interceptor>; overlayStyle: PropType<CSSProperties>; overlayClass: PropType<unknown>; transitionAppear: BooleanConstructor; closeOnClickOverlay: { type: BooleanConstructor; default: true; }; }; export type PopupSharedPropKeys = Array<keyof typeof popupSharedProps>; export declare const popupSharedPropKeys: PopupSharedPropKeys;