kui-vue
Version:
A lightweight desktop UI component library suitable for Vue.js 2.
30 lines (25 loc) • 662 B
TypeScript
import Vue, { VueConstructor } from "vue";
/** Form component props */
export interface FormProps {
/** default: horizontal */
layout?: string;
model?: Record<string, any>;
name?: string;
labelCol?: Record<string, any>;
wrapperCol?: Record<string, any>;
/** default: undefined */
rules?: Record<string, any>;
/** default: default */
size?: string;
theme?: string;
shape?: string;
disabled?: boolean;
}
/** Form component instance */
export interface Form extends Vue {
$props: FormProps;
$emit(event: string, ...args: any[]): void;
}
/** Form Vue component type */
declare const Form: VueConstructor<Form>;
export default Form;