tdesign-mobile-vue
Version:
tdesign-mobile-vue
42 lines (41 loc) • 1.75 kB
TypeScript
import { PropType } from 'vue';
declare const _default: {
closeOnClickOutside: {
type: BooleanConstructor;
default: boolean;
};
content: {
type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
default: {
type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
placement: {
type: PropType<"bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right">;
default: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right";
validator(val: "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | "top" | "top-left" | "top-right"): boolean;
};
showArrow: {
type: BooleanConstructor;
default: boolean;
};
theme: {
type: PropType<"brand" | "dark" | "error" | "light" | "success" | "warning">;
default: "brand" | "dark" | "error" | "light" | "success" | "warning";
validator(val: "brand" | "dark" | "error" | "light" | "success" | "warning"): boolean;
};
triggerElement: {
type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>;
};
visible: {
type: BooleanConstructor;
default: any;
};
modelValue: {
type: BooleanConstructor;
default: any;
};
defaultVisible: BooleanConstructor;
onVisibleChange: PropType<(visible: boolean) => void>;
};
export default _default;