element-ui/types/component.d.ts
2021-06-07 11:56:04 +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'