I have the following code in the costructor:
this.state = {
              messageBox: { open: false, title: 'title', content: 'content', onConfirm: function() {console.log('confirm')}, onCancel: function() {console.log('cancel')} },
            };
Now I would like to change only the open property with setState. How can I achieve this?
 
     
    