UNPKG

sard-uniapp

Version:

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

23 lines (22 loc) 700 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; 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: () => DefaultProps<TagProps>; export interface TagSlots { default?(props: Record<string, never>): any; } export interface TagEmits { (e: 'click', event: any): void; (e: 'close', event: any): void; }