iframe component for react that supports onLoad.
npm install react-onload-iframeiframe wrapper component that enables onLoad event handling in all browsers.
See: react issue #6541
Example: Stackblitz example
Note: Although it's overkill, config copied from styled-components. Don't think MIT license requires attribution for something like that, but for full disclosure and just in case. :)
Licensed under the WTFPL License, do what the fark you want to.
See LICENSE for more information.