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