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

Code Example 1

NavigationView {
    NavigationLink(destination: Text("Detail view here")) {
        Image("YourImage")
    }
    .buttonStyle(PlainButtonStyle())
}

Learn ReactJs, React Native from akashmittal.com