UNPKG

1.78 kBTypeScriptView Raw
1export declare const Card: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2 tag: StringConstructor;
3 num: (NumberConstructor | StringConstructor)[];
4 desc: StringConstructor;
5 thumb: StringConstructor;
6 title: StringConstructor;
7 price: (NumberConstructor | StringConstructor)[];
8 centered: BooleanConstructor;
9 lazyLoad: BooleanConstructor;
10 currency: {
11 type: import("vue").PropType<string>;
12 default: string;
13 };
14 thumbLink: StringConstructor;
15 originPrice: (NumberConstructor | StringConstructor)[];
16}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickThumb"[], "clickThumb", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17 tag: StringConstructor;
18 num: (NumberConstructor | StringConstructor)[];
19 desc: StringConstructor;
20 thumb: StringConstructor;
21 title: StringConstructor;
22 price: (NumberConstructor | StringConstructor)[];
23 centered: BooleanConstructor;
24 lazyLoad: BooleanConstructor;
25 currency: {
26 type: import("vue").PropType<string>;
27 default: string;
28 };
29 thumbLink: StringConstructor;
30 originPrice: (NumberConstructor | StringConstructor)[];
31}>> & Readonly<{
32 onClickThumb?: ((...args: any[]) => any) | undefined;
33}>, {
34 lazyLoad: boolean;
35 centered: boolean;
36 currency: string;
37}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
38export default Card;
39export { cardProps } from './Card';
40export type { CardProps } from './Card';
41export type { CardThemeVars } from './types';
42declare module 'vue' {
43 interface GlobalComponents {
44 VanCard: typeof Card;
45 }
46}
47
\No newline at end of file