Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as React from 'react';
const Loader = require('react-spinners').SyncLoader;
const FontAwesome = require('react-fontawesome');
const WebView = require('react-electron-web-view');
let styles = require('./Frame.scss');
export default class Frame extends React.Component {
constructor(public props: any) {
super(props);
this.navigateBack = this.navigateBack.bind(this);
this.navigateForward = this.navigateForward.bind(this);
this.setWebView = this.setWebView.bind(this);
}
/**