import { useState as s, useLayoutEffect as c } from "react";
const n = (t, e, r) => {
  const [u, o] = s(0);
  return c(() => {
    t.current && o(t.current.offsetWidth);
  }, [t, e, r]), u;
};
export {
  n as default
};
//# sourceMappingURL=useFilterDisplayWidth.js.map
