import React from 'react';
import { useDeleteController } from 'prophet-core';
import { Popconfirm } from 'antd';
import { Link } from '../Link';
export const DeleteWithConfirmButton = props => {
const { label, disabled, className, style, update, record } = props;
const onConfirm = () => update(record.id, record, { refresh: true });
return (
{label}
);
};
const DeleteWithButton = props => (
);
export default DeleteWithButton;