Closed Sunil6591 closed 7 years ago
The code used internally is : React.createElement("iframe", { ref: "iframe", style: { position: this.props.position, height: this.props.height, width: this.props.width }, height: this.props.height, width: this.props.width });
So you can set width and height using props as follows:
<Iframe url={embedUrl} height="500" width="600"/>
Yep, that works, but I guess if you want more styles then that is not enough. Added a styles prop now!
I am trying to set
But its not applying