UNPKG

@fesjs/fes-design

Version:
34 lines (33 loc) 992 B
import type { PropType } from 'vue'; import type { ExtractPublicPropTypes } from '../_util/interface'; export type Shape = 'square' | 'circle'; type Fit = 'fill' | 'contain' | 'cover' | 'none' | 'scale-down'; export type Size = 'small' | 'middle' | 'large' | number; export declare const avatarProps: { readonly backgroundColor: { readonly type: StringConstructor; }; readonly color: { readonly type: StringConstructor; }; readonly size: { readonly type: PropType<Size>; readonly default: "middle"; }; readonly shape: { readonly type: PropType<Shape>; readonly default: "circle"; }; readonly src: { readonly type: StringConstructor; }; readonly fallbackSrc: { readonly type: StringConstructor; }; readonly fit: { readonly type: PropType<Fit>; readonly default: "fill"; }; }; export type AvatarProps = ExtractPublicPropTypes<typeof avatarProps>; export {};