Source : React Native Modal Example
This tutorial explains how to use the modal component in React Native application. The Modal component is a simple way to present content above an enclosing view. Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator. In this example we are going to update the initial state with help of toggleModal function. This function helps to hide and show the model component in react native view component.