mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
improvments to popup
This commit is contained in:
+11
-1
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user