update tooltip

chromesetting
tangjiang 5 years ago
parent b6a3e8e7ee
commit af54d55cbf

@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-12-12 10:34:03
* @LastEditors: tangjiang
* @LastEditTime: 2019-12-13 16:04:31
* @LastEditTime: 2019-12-13 16:28:33
*/
import './index.scss';
import React, { useState, useEffect } from 'react';
@ -36,7 +36,11 @@ function LeftPane (props) {
const oList = dataSets.map((item, i) => {
return (
<li className="jupyter_item" key={`key_${i}`}>
<Tooltip placement="right" title={item.file_path}>
<Tooltip
placement="right"
title={item.file_path}
mouseLeaveDelay={0.3}
>
<Icon type="file-text" className="jupyter_icon"/>
<span className="jupyter_name">{item.title}</span>
</Tooltip>

Loading…
Cancel
Save