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