We're running Prodigy within an iframe in a React project, and we have a specific need to filter annotations based on selected items outside of the iframe within our application. Could you guide us on how to achieve this?
Also, we're looking to understand the process of passing data from a React component to the iframe and retrieving data from the iframe back into the React component.