improvments to popup

This commit is contained in:
SethBurkart123
2023-09-29 06:32:14 +10:00
parent 764f838c7e
commit c8601b6a16
13 changed files with 121 additions and 315 deletions
+11 -1
View File
@@ -1,10 +1,20 @@
import React from 'react'
import React, { useState } from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.js'
import './index.css'
// @ts-expect-error There aren't any types for the below library
import ColorPicker from 'react-best-gradient-color-picker';
const root = ReactDOM.createRoot(document.getElementById('ExtensionPopup')!);
// @ts-expect-error woaefoiahef
// eslint-disable-next-line
function Testing() {
const [color, setColor] = useState('#fffff');
return <ColorPicker value={color} onChange={setColor} />
}
root.render(
<React.StrictMode>
<App />