ReactJs импорт электрон

const electron = window.require('electron');
const ipcRenderer  = electron.ipcRenderer;
Nutty Narwhal