sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
22 lines (21 loc) • 882 B
TypeScript
import { type StyleValue } from 'vue';
import { type DefaultProps } from '../config';
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: () => DefaultProps<SpaceProps>;
export interface SpaceSlots {
default?(props: Record<string, never>): any;
}