UNPKG

tav-ui

Version:
19 lines (14 loc) 463 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); const FileContextKey = Symbol("file"); function createFileContext(context) { vue.provide(FileContextKey, context); } function useFileContext() { return vue.inject(FileContextKey); } exports.FileContextKey = FileContextKey; exports.createFileContext = createFileContext; exports.useFileContext = useFileContext; //# sourceMappingURL=use-context2.js.map