Install the component dependency:
Include a React component in your project:
Positioning with the component
There are several position-specific components for adjusting the relative positioning of things like
Tooltips around target elements.
Position always renders in a portal, defaulting to
document.body. It is often desirable to provide your own node to render within. Use the
inNode prop to pass an element reference.
/js part of the utility.