UNPKG

tdesign-mobile-vue

Version:
46 lines (45 loc) 1.67 kB
import { PropType } from 'vue'; declare const _default: { closable: BooleanConstructor; content: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; default: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; disabled: BooleanConstructor; icon: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; default: any; }; maxWidth: { type: PropType<string | number>; }; shape: { type: PropType<"mark" | "round" | "square">; default: "mark" | "round" | "square"; validator(val: "mark" | "round" | "square"): boolean; }; size: { type: PropType<"extra-large" | "large" | "medium" | "small">; default: "extra-large" | "large" | "medium" | "small"; validator(val: "extra-large" | "large" | "medium" | "small"): boolean; }; theme: { type: PropType<"danger" | "default" | "primary" | "success" | "warning">; default: "danger" | "default" | "primary" | "success" | "warning"; validator(val: "danger" | "default" | "primary" | "success" | "warning"): boolean; }; variant: { type: PropType<"dark" | "light" | "light-outline" | "outline">; default: "dark" | "light" | "light-outline" | "outline"; validator(val: "dark" | "light" | "light-outline" | "outline"): boolean; }; onClick: PropType<(context: { e: MouseEvent; }) => void>; onClose: PropType<(context: { e: MouseEvent; }) => void>; }; export default _default;