UNPKG

@zag-js/solid

Version:

The solid.js wrapper for zag

16 lines (15 loc) 232 B
// src/refs.ts function createRefs(refs) { const ref = { current: refs }; return { get(key) { return ref.current[key]; }, set(key, value) { ref.current[key] = value; } }; } export { createRefs };