function setRefs()

in src/hooks/useCombinedRefs.ts [16:27]


    function setRefs(current: T | null = null) {
      for (const ref of refs) {
        if (!ref) {
          return
        }
        if (typeof ref === 'function') {
          ref(current)
        } else {
          ref.current = current
        }
      }
    }