UNPKG

1.7 kBTypeScriptView Raw
1import { ExtractPropTypes, PropType } from 'vue';
2export type SpaceSize = number | string;
3export type SpaceAlign = 'start' | 'end' | 'center' | 'baseline';
4export declare const spaceProps: {
5 align: PropType<SpaceAlign>;
6 direction: {
7 type: PropType<"vertical" | "horizontal">;
8 default: string;
9 };
10 size: {
11 type: PropType<number | string | [SpaceSize, SpaceSize]>;
12 default: number;
13 };
14 wrap: BooleanConstructor;
15 fill: BooleanConstructor;
16};
17export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
18declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
19 align: PropType<SpaceAlign>;
20 direction: {
21 type: PropType<"vertical" | "horizontal">;
22 default: string;
23 };
24 size: {
25 type: PropType<number | string | [SpaceSize, SpaceSize]>;
26 default: number;
27 };
28 wrap: BooleanConstructor;
29 fill: BooleanConstructor;
30}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
31 align: PropType<SpaceAlign>;
32 direction: {
33 type: PropType<"vertical" | "horizontal">;
34 default: string;
35 };
36 size: {
37 type: PropType<number | string | [SpaceSize, SpaceSize]>;
38 default: number;
39 };
40 wrap: BooleanConstructor;
41 fill: BooleanConstructor;
42}>> & Readonly<{}>, {
43 fill: boolean;
44 size: string | number | [SpaceSize, SpaceSize];
45 wrap: boolean;
46 direction: "horizontal" | "vertical";
47}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48export default _default;