import { DialogButton, Field, TextField } from 'decky-frontend-lib'; import { useState } from 'react'; import { FaShapes } from 'react-icons/fa'; import { installFromURL } from '../../../store/Store'; import UpdaterSettings from './Updater'; export default function GeneralSettings() { const [pluginURL, setPluginURL] = useState(''); // const [checked, setChecked] = useState(false); // store these in some kind of State instead return (
{/* } > setChecked(e)} /> */} setPluginURL(e?.target.value)} />} icon={} > installFromURL(pluginURL)}> Install
); }