UNPKG

sard-uniapp

Version:

sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库

29 lines (28 loc) 737 B
import { type StyleValue } from 'vue'; export interface NotifyProps { rootStyle?: StyleValue; rootClass?: string; type?: 'primary' | 'success' | 'warning' | 'error'; message?: string; color?: string; background?: string; visible?: boolean; position?: 'top' | 'bottom'; timeout?: number; duration?: number; statusBar?: boolean; } export declare const defaultNotifyProps: { type: NotifyProps["type"]; position: NotifyProps["position"]; duration: number; timeout: number; }; export interface NotifyEmits { (e: 'click', event: any): void; (e: 'update:visible', event: any): void; } export interface NotifyExpose { reHideLater: () => void; cancelHide: () => void; }