UNPKG

689 BTypeScriptView Raw
1import type { Ref, ComponentPublicInstance } from 'vue';
2import type { PopupProps } from './Popup';
3export type PopupPosition = 'top' | 'left' | 'bottom' | 'right' | 'center' | '';
4export type PopupCloseIconPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
5export type PopupExpose = {
6 popupRef: Ref<HTMLElement>;
7};
8export type PopupInstance = ComponentPublicInstance<PopupProps, PopupExpose>;
9export type PopupThemeVars = {
10 popupBackground?: string;
11 popupTransition?: string;
12 popupRoundRadius?: string;
13 popupCloseIconSize?: string;
14 popupCloseIconColor?: string;
15 popupCloseIconMargin?: string;
16 popupCloseIconZIndex?: number | string;
17};