const { useRef } = React; const Section = ({ children, className = "", id }) => { const ref = useRef(); const isVisible = window.useOnScreen(ref); return (
{children}
); }; window.Section = Section;