chore: implement options component

This commit is contained in:
Sebastian Velez
2023-01-16 16:45:42 -05:00
parent 949fff2cf7
commit b507429e9b
4 changed files with 280 additions and 3 deletions

View File

@@ -1,6 +1,12 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { createRoot } from 'react-dom/client';
import Options from './components/Options';
/* This is a fix for Bootstrap requiring jQuery */
global.jQuery = require('jquery');
require('bootstrap');
const container = document.getElementById('wakatime-options');
const root = createRoot(container!);
ReactDOM.render(<h1>OPTIONS GO HERE</h1>, container);
root.render(<Options />);