gtht-miniapp-sdk
Version:
gtht-miniapp-sdk 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
41 lines (40 loc) • 1 kB
TypeScript
import { type StyleValue } from 'vue';
export interface RowProps {
rootStyle?: StyleValue;
rootClass?: string;
gap?: number | string;
justify?: 'start' | 'center' | 'end' | 'around' | 'between' | 'evenly';
align?: 'start' | 'center' | 'end' | 'stretch';
}
export interface RowSlots {
default?(props: Record<string, never>): any;
}
export interface ColProps {
rootStyle?: StyleValue;
rootClass?: string;
span?: number | 'auto' | 'none';
offset?: number;
order?: number;
}
export interface ColSlots {
default?(props: Record<string, never>): any;
}
export type RowContext = {
gutter: readonly [number, string];
gap: RowProps['gap'];
};
export declare const rowSymbol: unique symbol;
export declare const mapJustify: {
start: string;
center: string;
end: string;
around: string;
between: string;
evenly: string;
};
export declare const mapAlign: {
start: string;
center: string;
end: string;
stretch: string;
};