element/types/component.d.ts
2017-10-27 02:53:28 -05:00

14 lines
433 B
TypeScript

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