Skip to content

Commit 98a630c

Browse files
committed
call onLoad given as Props
1 parent 94e5df9 commit 98a630c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Frame.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export class Frame extends Component {
8282

8383
handleLoad = () => {
8484
this.setState({ iframeLoaded: true });
85+
this.props.onLoad && this.props.onLoad()
8586
};
8687

8788
renderFrameContents() {

0 commit comments

Comments
 (0)