Check out example codes for "Send a SMS Text From A Link - the new code". It will help you in understanding the concepts better.

Code Example 1

<a href="sms:+919876543210?&amp;body= I%27d%20like%20to%20set%20up%20an%20appointment%20for...">click to send</a>

Code Example 2

<a href="sms:+18664504185&body=Hi%2520there%252C%2520I%2527d%2520like%2520to%2520place%2520an%2520order%2520for...">Click here to text us!</a>

Learn ReactJs, React Native from akashmittal.com