UNPKG

sard-uniapp

Version:

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

27 lines (26 loc) 719 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; export interface AlertProps { rootStyle?: StyleValue; rootClass?: string; showIcon?: boolean; closable?: boolean; type?: 'primary' | 'success' | 'warning' | 'danger'; color?: string; background?: string; square?: boolean; } export declare const defaultAlertProps: () => DefaultProps<AlertProps>; export interface AlertSlots { default?(props: Record<string, never>): any; icon?(props: Record<string, never>): any; } export interface AlertEmits { (e: 'close'): void; } export declare const mapTypeIcon: { primary: string; success: string; warning: string; danger: string; };