import React from 'react';
// import { Popconfirm } from 'antd';
export default function DelConfirm(props) {
  // console.log(props, 'onClick');
  var _props$text = props.text,
    text = _props$text === void 0 ? '删除xx' : _props$text,
    onClick = props.onClick;
  var style = {
    color: '#1785ec',
    cursor: 'pointer'
  };
  return /*#__PURE__*/React.createElement("span", {
    style: style,
    onClick: onClick
  }, text);
}