You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.9 KiB
22 lines
1.9 KiB
|
2 years ago
|
import type { ExtractPropTypes } from 'vue';
|
||
|
|
import type { ObjectFitProperty } from 'csstype';
|
||
|
|
export declare const avatarProps: {
|
||
|
|
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
||
|
|
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
||
|
|
readonly icon: {
|
||
|
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
|
||
|
|
readonly required: false;
|
||
|
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
||
|
|
__epPropKey: true;
|
||
|
|
};
|
||
|
|
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
||
|
|
readonly alt: StringConstructor;
|
||
|
|
readonly srcSet: StringConstructor;
|
||
|
|
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => ObjectFitProperty & {}) | (() => ObjectFitProperty) | ((new (...args: any[]) => ObjectFitProperty & {}) | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
||
|
|
};
|
||
|
|
export declare type AvatarProps = ExtractPropTypes<typeof avatarProps>;
|
||
|
|
export declare const avatarEmits: {
|
||
|
|
error: (evt: Event) => boolean;
|
||
|
|
};
|
||
|
|
export declare type AvatarEmits = typeof avatarEmits;
|