How to Pass data, Open React-Modal from Parent Functional Component

This example tutorial will teach how to open the React Modal component in the child functional component. We will handle the OpenState of Modal from the parent component and pass dynamic data from parent to child. Moreover, the react-modal component will pass back data to the parent after the modal is closed.