element/types/component.d.ts

14 lines
433 B
TypeScript
Raw Normal View History

import Vue from 'vue'
/** ElementUI component common definition */
export declare class ElementUIComponent extends Vue {
/** Install component into Vue */
2017-10-26 23:20:20 +08:00
static install (vue: typeof Vue): void
}
/** Component size definition for button, input, etc */
2017-10-18 18:31:03 +08:00
export type ElementUIComponentSize = 'large' | 'medium' | 'small' | 'mini'
/** Horizontal alignment */
export type ElementUIHorizontalAlignment = 'left' | 'center' | 'right'