gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
27 lines (26 loc) • 653 B
TypeScript
import { type StyleValue } from 'vue';
export interface AlertProps {
rootStyle?: StyleValue;
rootClass?: string;
showIcon?: boolean;
closable?: boolean;
type?: 'primary' | 'success' | 'warning' | 'danger';
color?: string;
background?: string;
}
export declare const defaultAlertProps: {
type: AlertProps["type"];
};
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;
};