Object is not a function
dmossie opened this issue · comments
Daniel Mossie commented
Hey there. I am trying to use your library, but when I try to render the IframeResizer, I get an error in the console.
Here is my code:
import IframeResizer from 'iframe-resizer-react';
<IframeResizer
src={ this.props.link }
style={{ width: '1px', minWidth: '100%'}}
/>
Does anyone know what could be wrong?
Daniel Mossie commented
I updated my version of React to 16.13 - and this is no longer an issue