# react-onload-iframe

iframe wrapper component that enables onLoad event handling in all browsers.

See: [react issue #6541](https://github.com/facebook/react/issues/6541)

Example: [Stackblitz example](https://stackblitz.com/edit/react-ts-8fxk8b?file=App.tsx,ReactIFrame.tsx)

Note: Although it's overkill, config copied from [styled-components](https://github.com/styled-components/styled-components). Don't think MIT license requires attribution for something like that, but for full disclosure and just in case. :)

## License

Licensed under the WTFPL License, do what the fark you want to. 

See [LICENSE](./LICENSE) for more information.