UNPKG

sard-uniapp

Version:

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

22 lines (21 loc) 601 B
import { type StyleValue } from 'vue'; import { type DefaultProps } from '../config'; export interface AvatarProps { rootStyle?: StyleValue; rootClass?: string; shape?: 'circle' | 'square'; size?: string; iconSize?: string; background?: string; color?: string; src?: string; index?: number; } export declare const defaultAvatarProps: () => DefaultProps<AvatarProps>; export interface AvatarSlots { default?(props: Record<string, never>): any; extra?(props: Record<string, never>): any; } export interface AvatarEmits { (e: 'click', event: any): void; }