UNPKG

element-plus

Version:

A Component Library for Vue 3

19 lines (14 loc) 480 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); var tokens = require('./tokens.js'); const useDropdown = () => { const elDropdown = vue.inject(tokens.DROPDOWN_INSTANCE_INJECTION_KEY, {}); const _elDropdownSize = vue.computed(() => elDropdown == null ? void 0 : elDropdown.dropdownSize); return { elDropdown, _elDropdownSize }; }; exports.useDropdown = useDropdown; //# sourceMappingURL=useDropdown.js.map