The onClick prop can been used to stop propagation to parent components, as mentioned in this older issue. While the main point of that issue talks about the click event propagating to the parent ...
I have created a reusable Button which will open a confirmation Dialog, so that I can use this confirmation button in my project without many states and dialog boilerplate. Then use it in places I ...