Check out example codes for "ios rounded button". It will help you in understanding the concepts better.

Code Example 1

button.layer.cornerRadius = button.frame.size.height / 2
// must be in the viewDidLoad func

Learn ReactJs, React Native from akashmittal.com