title: Ant Design Popconfirm - Changing the preselected button to Cancel
body: <p>The Popconfirm-modal in Ant Design has the Confirm ("Yes"-)-Button preselected when the modal-window opens.</p>
  
  <p><a href="https://i.stack.imgur.com/bs7W7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bs7W7.png" alt="enter image description here"></a></p>
  
  <p>Source-code for the modal:</p>
  
  <pre><code>import { Popconfirm, message } from 'antd';
  
  function confirm(e) {
    console.log(e);
    message.success('Click on Yes');
  }
  
  function cancel(e) {
    console.log(e);
    message.error('Click on No');
  }
  
  ReactDOM.render(
    &lt;Popconfirm title="Are you sure delete this task?" onConfirm={confirm} onCancel={cancel} okText="Yes" cancelText="No"&gt;
      &lt;a href="#"&gt;Delete&lt;/a&gt;
    &lt;/Popconfirm&gt;
  , mountNode);
  </code></pre>
  
  <p>Documentation and live-demo here: <a href="https://ant.design/components/popconfirm/#components-popconfirm-demo-dynamic-trigger" rel="nofollow noreferrer">Ant Design Documentation</a></p>
  
  <p>Is there a way to change the described default-behaviour?</p>
  
  <p>Precisely: 
  <strong>Is there a way to define the Cancel (respectively "No"-)-Button as preselected when the Modal appears?</strong></p>