ryanseddon / react-frame-component

Render your React app to an iFrame
http://ryanseddon.github.io/react-frame-component/
MIT License
1.75k stars 156 forks source link

fix: use correct value type for ref prop #215

Closed disintegrator closed 2 years ago

disintegrator commented 2 years ago

The underlying value of the Frame's ref should be a handle to the iframe element (HTMLIFrameElement) instead of FrameComponent.