magento2 – How to disable the grid button in Magento 2

I want to disable the button
Vender / Module / Block / Adminhtml / Module / Edit / RejectButton





namespace Vender  Module  Block  Adminhtml  MakeAnOffer  Edit;

use Magento  Framework  View  Element  UiComponent  Control  ButtonProviderInterface;


The RejectButton class implements ButtonProviderInterface
{
protected $ request;

/ **
* URL builder
*
* @var  Magento  Framework  UrlInterface
* /
protected $ urlBuilder;

/ **
* CustomButton builder.
*
* @param  Magento  Backend  Block  Widget  Context $ context
* /
public service __construct (
 Magento  Backend  Block  Widget  Context $ context,
 Magento  Framework  App  Request  Http $ request
) {
$ this-> urlBuilder = $ context-> getUrlBuilder ();
$ this-> request = $ request;
}
/ **
* @return array
* /
public function getButtonData ()
{

$ id = $ this-> request-> getParam (& # 39; id);
$ data = [
            'label' => __('Reject Offer'),
            'class' => 'reject',
            'id' => 'custom-button',
            'on_click' => sprintf("location.href = '%s';", $this->getUrl('*/*/rejectoffer', ['id' =>  $id])),
& # 39; sort_order & # 39; => 70
];
returns $ data;
}

/ **
* Generate a URL by route and settings
*
* @param string $ route
* @param array $ params
* @back string
* /
public function getUrl ($ route = & # 39 ;, $ params = [])
{
return $ this-> urlBuilder-> getUrl ($ route, $ params);
}
}

Now, once the offer is rejected, it is not necessary to display the button. How can I adjust this ??? I can get the data and set the logic for that, but the problem is how can I disable the button from here?