UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

12 lines (11 loc) 474 B
import type { InjectionKey } from 'vue'; import type { A2UICommand, ActionPayload, BoxProps, Catalog } from './types'; export interface BoxContextValue { components: NonNullable<BoxProps['components']>; commandQueue: A2UICommand[]; onAction?: (payload: ActionPayload) => void; allowedCatalogIds?: string[]; catalogMap: Map<string, Catalog>; surfaceCatalogMap: Map<string, string>; } export declare const boxContextKey: InjectionKey<BoxContextValue>;