how to get a call back from iframe to parent window onload using react code example
Example: how to access parent function from iframe
document.getElementById('targetFrame').contentWindow.targetFunction();
document.getElementById('targetFrame').contentWindow.targetFunction();