// src/lib/compose-refs.ts
function composeRefs(...refs) {
  return (node) => {
    for (const ref of refs) {
      if (ref == null) continue;
      if (typeof ref === "function") {
        ref(node);
      } else {
        ;
        ref.current = node;
      }
    }
  };
}
export {
  composeRefs
};
//# sourceMappingURL=compose-refs.js.map