kui-vue
Version:
A lightweight desktop UI component library suitable for Vue.js 2.
27 lines (22 loc) • 574 B
TypeScript
import Vue, { VueConstructor } from "vue";
/** KImage component props */
export interface KImageProps {
alt?: string;
src?: string;
type?: string;
origin?: string;
height?: string | number;
width?: string | number;
placeholder?: string;
data?: any[];
imgStyle?: Record<string, any>;
showPanel?: boolean;
}
/** KImage component instance */
export interface KImage extends Vue {
$props: KImageProps;
$emit(event: string, ...args: any[]): void;
}
/** KImage Vue component type */
declare const KImage: VueConstructor<KImage>;
export default KImage;