Here\'s a basic component. Both the and have onClick functions. I want only the onClick on the to fir
This is an easy way to prevent the click event from moving forward to the next component and then call your yourFunction.
{e.stopPropagation(); yourFunction(someParam)}}>Delete