gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
25 lines (24 loc) • 686 B
TypeScript
import { type StyleValue } from 'vue';
export interface TagProps {
rootStyle?: StyleValue;
rootClass?: string;
theme?: 'default' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
plain?: boolean;
round?: boolean;
mark?: boolean | 'left' | 'right';
size?: 'small' | 'medium' | 'large';
color?: string;
textColor?: string;
closable?: boolean;
}
export declare const defaultTagProps: {
theme: TagProps["theme"];
size: TagProps["size"];
};
export interface TagSlots {
default?(props: Record<string, never>): any;
}
export interface TagEmits {
(e: 'click', event: any): void;
(e: 'close', event: any): void;
}