tdesign-mobile-vue
Version:
tdesign-mobile-vue
37 lines (36 loc) • 1.19 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
direction: {
type: PropType<"column" | "row">;
default: "column" | "row";
validator(val: "column" | "row"): boolean;
};
duration: {
type: NumberConstructor;
default: number;
};
icon: {
type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
message: {
type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
overlayProps: {
type: PropType<import("@/overlay/type").TdOverlayProps>;
default: () => {};
};
placement: {
type: PropType<"bottom" | "middle" | "top">;
default: "bottom" | "middle" | "top";
validator(val: "bottom" | "middle" | "top"): boolean;
};
preventScrollThrough: BooleanConstructor;
showOverlay: BooleanConstructor;
theme: {
type: PropType<"error" | "loading" | "success" | "warning">;
validator(val: "error" | "loading" | "success" | "warning"): boolean;
};
onClose: PropType<() => void>;
onDestroy: PropType<() => void>;
};
export default _default;