import { useRef as i, useEffect as s } from "react";
var c = {
  percent: 0,
  prefixCls: "rc-progress",
  strokeColor: "#2db7f5",
  strokeLinecap: "round",
  strokeWidth: 1,
  trailColor: "#D9D9D9",
  trailWidth: 1,
  gapPosition: "bottom"
}, p = function() {
  var t = i([]), r = i(null);
  return s(function() {
    var a = Date.now(), e = !1;
    t.current.forEach(function(n) {
      if (n) {
        e = !0;
        var o = n.style;
        o.transitionDuration = ".3s, .3s, .3s, .06s", r.current && a - r.current < 100 && (o.transitionDuration = "0s, 0s");
      }
    }), e && (r.current = Date.now());
  }), t.current;
};
export {
  c as defaultProps,
  p as useTransitionDuration
};
