UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

30 lines (29 loc) 831 B
export declare type PlainObject = { [key: string]: any; }; export declare type OptionData = { label?: string; value?: string | number; } & PlainObject; export declare type TreeOptionData<T = string | number> = { children?: Array<TreeOptionData<T>>; label?: any; text?: string; value?: T; } & PlainObject; export declare type SizeEnum = 'small' | 'medium' | 'large'; export declare type HorizontalAlignEnum = 'left' | 'center' | 'right'; export declare type VerticalAlignEnum = 'top' | 'middle' | 'bottom'; export declare type ClassName = { [className: string]: any; } | ClassName[] | string; export declare type CSSSelector = string; export interface Styles { [css: string]: string | number; } export declare enum EKeyboardDirection { left = 37, up = 38, right = 39, down = 40 }