Check out example codes for "remove outline on button click". It will help you in understanding the concepts better.

Code Example 1

.x-btn:focus, .button:focus, [type="submit"]:focus {
   outline: none;
}

Code Example 2

using outline:none; we can remove that border in chrome

for tailwind css :
outline-none 
focus:outline-none

Learn ReactJs, React Native from akashmittal.com