Check out example codes for "whats app link target blank". It will help you in understanding the concepts better.

Code Example 1

<button onclick="javascript:{window.open('https://api.whatsapp.com/send?phone=55myphonehere&text='+encodeURIComponent('My text here'),'_blank')}" ></button>

Learn ReactJs, React Native from akashmittal.com