UNPKG

kui-vue

Version:

A lightweight desktop UI component library suitable for Vue.js 2.

32 lines (27 loc) 695 B
import Vue, { VueConstructor } from "vue"; /** Button component props */ export interface ButtonProps { /** default: button */ htmlType?: any; icon?: string | any[]; block?: boolean; size?: any; color?: any; loading?: boolean; /** default: default */ type?: "outline" | "solid" | "light" | "dashed" | "card"; /** default: false */ disabled?: boolean; theme?: string; shape?: string; href?: string; target?: string; } /** Button component instance */ export interface Button extends Vue { $props: ButtonProps; $emit(event: string, ...args: any[]): void; } /** Button Vue component type */ declare const Button: VueConstructor<Button>; export default Button;