UNPKG

1.55 kBTypeScriptView Raw
1import { type ExtractPropTypes } from 'vue';
2export type ContactCardType = 'add' | 'edit';
3export declare const contactCardProps: {
4 tel: StringConstructor;
5 name: StringConstructor;
6 type: {
7 type: import("vue").PropType<ContactCardType>;
8 default: ContactCardType;
9 };
10 addText: StringConstructor;
11 editable: {
12 type: BooleanConstructor;
13 default: true;
14 };
15};
16export type ContactCardProps = ExtractPropTypes<typeof contactCardProps>;
17declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
18 tel: StringConstructor;
19 name: StringConstructor;
20 type: {
21 type: import("vue").PropType<ContactCardType>;
22 default: ContactCardType;
23 };
24 addText: StringConstructor;
25 editable: {
26 type: BooleanConstructor;
27 default: true;
28 };
29}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<ExtractPropTypes<{
30 tel: StringConstructor;
31 name: StringConstructor;
32 type: {
33 type: import("vue").PropType<ContactCardType>;
34 default: ContactCardType;
35 };
36 addText: StringConstructor;
37 editable: {
38 type: BooleanConstructor;
39 default: true;
40 };
41}>> & Readonly<{
42 onClick?: ((...args: any[]) => any) | undefined;
43}>, {
44 type: ContactCardType;
45 editable: boolean;
46}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
47export default _default;
48
\No newline at end of file