UNPKG

@aplus-frontend/antdv

Version:

Vue basic component library maintained based on ant-design-vue

8 lines (7 loc) 320 B
import type { Ref, ComponentPublicInstance } from 'vue'; import type { Key } from '../type'; type RefType = HTMLElement | ComponentPublicInstance; export type RefsValue = Map<Key, RefType>; type UseRef = [(key: Key) => (el: RefType) => void, Ref<RefsValue>]; declare const useRefs: () => UseRef; export default useRefs;