UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

7 lines (6 loc) 299 B
import { InjectionKey } from 'vue'; export declare type PreviewGroupContext = Readonly<{ registerImageUrl: (id: number, url: string, canPreview: boolean) => () => void; preview: (imageId: number) => void; }>; export declare const PreviewGroupInjectionKey: InjectionKey<PreviewGroupContext>;