React wrapper for detecting element visibility in the browser
npm install react-emergencenpm install react-emergence
yarn add react-emergence
className - string Custom classname for the container. Ignored if useWindowAsContainer is true
children - node* React children to render inside the container (required)
useWindowAsContainer - boolean* Use the default container (window)
args - object* Set of custom args - see https://xtianmiller.github.io/emergence.js/ for more information
children - node* React component to be handled as as an emerge element (required)