import React from 'react' import { Icon } from 'antd' import closeIcon from './close.png' export default class CanDeleteItem extends React.Component { constructor(props) { super(props) this.state = { showDelete: false } } handleMouseOver() { this.setState({showDelete: true}) } handelMouseout() { setTimeout(() => { this.setState({showDelete: false}) }, 400) } render() { const { title } = this.props; return (