Files
vue-flow/package/src/context/index.ts
T
2022-05-11 22:10:40 +02:00

7 lines
291 B
TypeScript

import type { InjectionKey, Slots as TSlots } from 'vue'
import type { VueFlowStore } from '~/types'
export const VueFlow: InjectionKey<VueFlowStore> = Symbol('vueFlow')
export const NodeId: InjectionKey<string> = Symbol('nodeId')
export const Slots: InjectionKey<TSlots> = Symbol('slots')