gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
24 lines (23 loc) • 878 B
TypeScript
import { type StyleValue } from 'vue';
export type SpaceSize = 'small' | 'middle' | 'large';
export type SpaceAlign = 'start' | 'end' | 'center' | 'baseline';
export type SpaceJustify = 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
export interface SpaceProps {
rootStyle?: StyleValue;
rootClass?: string;
direction?: 'vertical' | 'horizontal';
size?: SpaceSize | (string & {});
align?: SpaceAlign | (string & {});
justify?: SpaceJustify | (string & {});
wrap?: boolean;
}
export declare const spaceSizes: string[];
export declare const spaceMapAlign: Record<string, string>;
export declare const spaceMapJustify: Record<string, string>;
export declare const defaultSpaceProps: {
direction: SpaceProps["direction"];
size: SpaceProps["size"];
};
export interface SpaceSlots {
default?(props: Record<string, never>): any;
}