Check out example codes for "swift hstack". It will help you in understanding the concepts better.

Code Example 1

VStack {
	//whatever Views are inside the VStack
}

Code Example 2

HStack {
	//whatever Views are inside the HStack
}

Learn ReactJs, React Native from akashmittal.com