kui-vue
Version:
A lightweight desktop UI component library suitable for Vue.js 2.
26 lines (21 loc) • 573 B
TypeScript
import Vue, { VueConstructor } from "vue";
/** Poptip component props */
export interface PoptipProps {
dark?: boolean;
show?: boolean;
title?: string | number | Record<string, any> | any[];
size?: string;
width?: number | string;
/** default: hover */
trigger?: any;
/** default: top */
placement?: any;
}
/** Poptip component instance */
export interface Poptip extends Vue {
$props: PoptipProps;
$emit(event: string, ...args: any[]): void;
}
/** Poptip Vue component type */
declare const Poptip: VueConstructor<Poptip>;
export default Poptip;