UNPKG

tdesign-mobile-vue

Version:
138 lines (137 loc) 5.76 kB
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ closable: BooleanConstructor; content: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; default: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; disabled: BooleanConstructor; icon: { type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; default: any; }; maxWidth: { type: import("vue").PropType<string | number>; }; shape: { type: import("vue").PropType<"mark" | "round" | "square">; default: "mark" | "round" | "square"; validator(val: "mark" | "round" | "square"): boolean; }; size: { type: import("vue").PropType<"extra-large" | "large" | "medium" | "small">; default: "extra-large" | "large" | "medium" | "small"; validator(val: "extra-large" | "large" | "medium" | "small"): boolean; }; theme: { type: import("vue").PropType<"danger" | "default" | "primary" | "success" | "warning">; default: "danger" | "default" | "primary" | "success" | "warning"; validator(val: "danger" | "default" | "primary" | "success" | "warning"): boolean; }; variant: { type: import("vue").PropType<"dark" | "light" | "light-outline" | "outline">; default: "dark" | "light" | "light-outline" | "outline"; validator(val: "dark" | "light" | "light-outline" | "outline"): boolean; }; onClick: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onClose: import("vue").PropType<(context: { e: MouseEvent; }) => void>; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "close")[], "click" | "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ closable: BooleanConstructor; content: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; default: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; disabled: BooleanConstructor; icon: { type: import("vue").PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; default: any; }; maxWidth: { type: import("vue").PropType<string | number>; }; shape: { type: import("vue").PropType<"mark" | "round" | "square">; default: "mark" | "round" | "square"; validator(val: "mark" | "round" | "square"): boolean; }; size: { type: import("vue").PropType<"extra-large" | "large" | "medium" | "small">; default: "extra-large" | "large" | "medium" | "small"; validator(val: "extra-large" | "large" | "medium" | "small"): boolean; }; theme: { type: import("vue").PropType<"danger" | "default" | "primary" | "success" | "warning">; default: "danger" | "default" | "primary" | "success" | "warning"; validator(val: "danger" | "default" | "primary" | "success" | "warning"): boolean; }; variant: { type: import("vue").PropType<"dark" | "light" | "light-outline" | "outline">; default: "dark" | "light" | "light-outline" | "outline"; validator(val: "dark" | "light" | "light-outline" | "outline"): boolean; }; onClick: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onClose: import("vue").PropType<(context: { e: MouseEvent; }) => void>; }>> & Readonly<{ onClick?: (...args: any[]) => any; onClose?: (...args: any[]) => any; }>, { closable: boolean; disabled: boolean; icon: (h: typeof import("vue").h) => import("@/common").SlotReturnValue; shape: "mark" | "round" | "square"; size: "extra-large" | "large" | "medium" | "small"; theme: "danger" | "default" | "primary" | "success" | "warning"; variant: "dark" | "light" | "light-outline" | "outline"; }, {}, { CloseIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ size: { type: StringConstructor; }; onClick: { type: import("vue").PropType<(context: { e: MouseEvent; }) => void>; }; fillColor: { type: import("vue").PropType<string | string[]>; }; strokeColor: { type: import("vue").PropType<string | string[]>; }; strokeWidth: { type: import("vue").PropType<number>; }; }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ size: { type: StringConstructor; }; onClick: { type: import("vue").PropType<(context: { e: MouseEvent; }) => void>; }; fillColor: { type: import("vue").PropType<string | string[]>; }; strokeColor: { type: import("vue").PropType<string | string[]>; }; strokeWidth: { type: import("vue").PropType<number>; }; }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;