import { n as useBreakpoint } from "./useBreakpoint.js";
import React from "react";
import { jsx } from "react/jsx-runtime";
function withBreakpoint(Component) {
	return React.forwardRef((props, ref) => {
		const breakpoint = useBreakpoint();
		return /* @__PURE__ */ jsx(Component, {
			ref,
			...props,
			breakpoint
		});
	});
}
var withBreakpoint_default = withBreakpoint;
export { withBreakpoint_default as n, withBreakpoint as t };

//# sourceMappingURL=withBreakpoint.js.map