UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

16 lines (14 loc) 309 B
function mergeRefs(refs) { return (value) => { refs.forEach((ref) => { if (typeof ref === "function") { ref(value); } else if (ref != null) { const _ref = ref; _ref.current = value; } }); }; } export { mergeRefs }; //# sourceMappingURL=merge-refs.js.map