UNPKG

vant

Version:

Mobile UI Components built on Vue

18 lines (17 loc) 689 B
import type { Ref, ComponentPublicInstance } from 'vue'; import type { PopupProps } from './Popup'; export type PopupPosition = 'top' | 'left' | 'bottom' | 'right' | 'center' | ''; export type PopupCloseIconPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; export type PopupExpose = { popupRef: Ref<HTMLElement>; }; export type PopupInstance = ComponentPublicInstance<PopupProps, PopupExpose>; export type PopupThemeVars = { popupBackground?: string; popupTransition?: string; popupRoundRadius?: string; popupCloseIconSize?: string; popupCloseIconColor?: string; popupCloseIconMargin?: string; popupCloseIconZIndex?: number | string; };