Check out example codes for "unity how to change the text on a button". It will help you in understanding the concepts better.

Code Example 1

GameObject.Find("Button Name").GetComponentInChildren<Text>().text = "Button Text";

Learn ReactJs, React Native from akashmittal.com