@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
13 lines (12 loc) • 422 B
TypeScript
import type { InjectionKey } from 'vue';
import type { AvatarProps } from '../ml-avatar/index.interface';
export interface AvatarGroupContext {
total: number;
offset: number;
maxCount: number;
globalSize: number;
globalShape: AvatarProps['shape'];
getAvatarId: () => number;
}
declare const avatarGroupInjectionKey: InjectionKey<AvatarGroupContext>;
export { avatarGroupInjectionKey };