element-plus/types/component.d.ts
2020-09-19 18:09:27 +08: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'