UNPKG

@jiaozhiye/qm-design-vue

Version:

A Component Library for Vue3.0

61 lines (60 loc) 1.81 kB
import type { PropType, ExtractPropTypes } from 'vue'; import type { ComponentSize, JSXElement } from '../../_utils/types'; export declare const _props: { alignment: { type: PropType<"top" | "center" | "bottom">; default: string; }; direction: { type: PropType<"vertical" | "horizontal">; default: string; }; arrangement: { type: PropType<"center" | "left" | "right">; default: string; }; size: { type: PropType<ComponentSize>; validator: (val: string) => boolean; }; wrap: { type: BooleanConstructor; }; spacer: { type: PropType<string | JSXElement>; default: null; validator: (val: any) => boolean; }; class: { readonly type: PropType<string | Record<string, boolean> | (string | Record<string, boolean>)[]>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; style: { readonly type: PropType<import("vue").StyleValue>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: ""; }; prefixCls: { readonly type: PropType<string>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; fill: BooleanConstructor; fillRatio: { readonly type: PropType<number>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; } & { readonly default: 100; }; }; export type SpaceProps = ExtractPropTypes<typeof _props>;