UNPKG

kui-vue

Version:

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

26 lines (21 loc) 551 B
import Vue, { VueConstructor } from "vue"; /** Switch component props */ export interface SwitchProps { /** default: false */ checked?: boolean | number; type?: string; disabled?: boolean; loading?: boolean; /** default: default */ size?: any; trueText?: string; falseText?: string; } /** Switch component instance */ export interface Switch extends Vue { $props: SwitchProps; $emit(event: string, ...args: any[]): void; } /** Switch Vue component type */ declare const Switch: VueConstructor<Switch>; export default Switch;