begin converting WakatimeCore

This commit is contained in:
Vu Nguyen
2021-01-16 20:04:53 -06:00
parent d194bcfe60
commit 0c39fbbc79
25 changed files with 1205 additions and 55 deletions

View File

@@ -1 +1,14 @@
// Stub for port of previous extension
import React from 'react';
import ReactDOM from 'react-dom';
const container = document.getElementById('wakatime');
const openOptions = async (): Promise<void> => {
await browser.runtime.openOptionsPage();
};
ReactDOM.render(
<>
<h1>POPUP GO HERE</h1>
<div onClick={openOptions}>Open options</div>
</>,
container,
);