gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
28 lines (27 loc) • 757 B
TypeScript
import { type StyleValue } from 'vue';
export interface ResultProps {
rootStyle?: StyleValue;
rootClass?: string;
status?: 'success' | 'info' | 'warning' | 'error' | 'question';
icon?: string;
iconFamily?: string;
iconColor?: string;
title?: string;
description?: string;
}
export declare const defaultResultProps: {
status: ResultProps["status"];
};
export interface ResultSlots {
default?(props: Record<string, never>): any;
title?(props: Record<string, never>): any;
description?(props: Record<string, never>): any;
icon?(props: Record<string, never>): any;
}
export declare const mapStatusIcon: {
success: string;
info: string;
warning: string;
error: string;
question: string;
};