We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6669ce4 commit 480d3e1Copy full SHA for 480d3e1
src/index.js
@@ -93,16 +93,18 @@ export default class extends Component {
93
);
94
}
95
96
- const { source } = this.props;
+ const { title, source, onLoad } = this.props;
97
return (
98
<iframe
99
+ title={title}
100
src={!source.method ? source.uri : undefined}
101
srcDoc={this.state.html || source.html}
102
style={{ width: '100%', height: '100%', border: 0 }}
103
allowFullScreen
104
allowpaymentrequest="true"
105
frameBorder="0"
106
seamless
107
+ onLoad={onLoad}
108
/>
109
110
0 commit comments