The keyword "overlay" has me confused, as I'm not clear on how to rewrite it. I'm also unclear as to how to properly attach the mountNode to the parent div element, "#some_id". document.getElementbyId() doesn't work.
This is the error message I get when running the above:
Uncaught Error: Invariant Violation: onlyChild must be passed a children with exactly one child.
I'm trying to re-create this example without JSX:
http://react-bootstrap.github.io/components.html#popovers-overlay-trigger
In particular, this line is causing me a headache:
and my (more verbose) version:
The keyword "overlay" has me confused, as I'm not clear on how to rewrite it. I'm also unclear as to how to properly attach the mountNode to the parent div element, "#some_id". document.getElementbyId() doesn't work.
This is the error message I get when running the above: