UNPKG

@minto-ai/mt-ui

Version:

UI组件库

36 lines (35 loc) 765 B
import { ExtractPropTypes, PropType } from 'vue'; declare const avatarTextProps: { /** * 头像的形状 */ shape: { type: PropType<"circle" | "square">; default: string; validator: (value: string) => boolean; }; /** * 头像的大小 */ size: { type: NumberConstructor; default: number; }; /** * 头像的文字 */ text: { type: StringConstructor; default: string; }; /** * 样式风格 */ effect: { type: PropType<"dark" | "light">; validator: (value: string) => boolean; default: string; }; }; export type AvatarTextProps = ExtractPropTypes<typeof avatarTextProps>; export { avatarTextProps };