sard-uniapp
Version:
sard-uniapp 是一套基于 Uniapp + Vue3 框架开发的兼容多端的 UI 组件库
25 lines (24 loc) • 709 B
TypeScript
import { type StyleValue } from 'vue';
import { type DefaultProps } from '../config';
export interface CompactProps {
rootStyle?: StyleValue;
rootClass?: string;
block?: boolean;
direction?: 'horizontal' | 'vertical';
}
export declare const defaultCompactProps: () => DefaultProps<CompactProps>;
export interface CompactSlots {
default?(props: Record<string, never>): any;
}
export interface CompactEmits {
}
export interface CompactExpose {
}
export interface CompactContext {
items: any[];
block: boolean;
direction: 'horizontal' | 'vertical';
addItem: (item: any) => void;
removeItem: (item: any) => void;
}
export declare const compactContextSymbol: unique symbol;