import { WithTooltip } from '.'
# WithTooltip
Returns a higher order component (HOC) that renders a tooltip. Make sure to pass an existing element container ID and spread props of the wrapped component.
The `WithTooltip` function takes a component to be wrapped, and an optional container ID used to insert the tooltip into.
If no container ID is passed, it will fallback to `Tooltip__container`. If no portal is found, it will log a warning.
The wrapped component takes a `tooltipPosition` prop for placing the tooltip, and a label prop for the tooltip text.
```javascript
type `tooltipPosition` = 'top' | 'bottom' | 'right' | 'left';
```
**Please note** - This HOC will eventually be deprecated, as we plan to create a `