Hello there, is there any Tooltip component that I can use in my React Widget? I tried to use this react component but it doesn’t come over the cell editor component. I wanted to show the tooltip on hover over the item. Any help is appreciated.
Something like this, I want to achieve:
import { ReactWidget } from '@jupyterlab/apputils';
import * as React from 'react';
export class MyWidget extends ReactWidget {
constructor() {
super();
}
protected render(): React.ReactElement {
return (
<div>
{this.myArray.map(function (item) {
return (
<Tooltip content={item.name} key={item.id}>
<div
>
{item.name}
</div>
</Tooltip>
);
})}
</div>
);
}
private myArray = [];
}