react-electron-webview
react-electron-webview copied to clipboard
React component for the <webview> element in Electron.
In the index.d.ts file there is a reference to the Electron webview element. tsc 2.4.2 throws this error `ERROR in [at-loader] ./node_modules/react-electron-webview/index.d.ts:5:69 TS2694: Namespace 'Electron' has no exported member 'WebViewElement'.`...
This project would really benefit from some details in the readme explaining what problem it solves and how it differs from other projects like `react-electron-web-view`. The standard Installation/Usage instructions would...
Hello! How to define event handlers? The code below doesn't work (webview loads page, but console doesn't log anything). ``` import ReactWebView from 'react-electron-webview'; // . . . . ....
- added/updated props - added/updated events to align against latest typescript definitions of electron version to v1.4.8 (from @types/electron)
This started off as a small thing I did for myself, but now there are contributors 😅