synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines (14 loc) • 429 B
JavaScript
import { jsx as e, Fragment as r } from "react/jsx-runtime";
import i from "../utils/VisibilityObserver.js";
import { Component as n } from "react";
class m extends n {
render() {
return /* @__PURE__ */ e(i, { renderInView: this.getChildren });
}
getChildren = () => /* @__PURE__ */ e(r, { children: this.props.children });
}
export {
m as RenderIfInView,
m as default
};
//# sourceMappingURL=RenderIfInView.js.map