diff options
Diffstat (limited to 'frontend/src/components/settings/pages/GeneralSettings.tsx')
| -rw-r--r-- | frontend/src/components/settings/pages/GeneralSettings.tsx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/frontend/src/components/settings/pages/GeneralSettings.tsx b/frontend/src/components/settings/pages/GeneralSettings.tsx deleted file mode 100644 index 1cc8076d..00000000 --- a/frontend/src/components/settings/pages/GeneralSettings.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { DialogButton, Field, TextField } from 'decky-frontend-lib'; -import { useState } from 'react'; -import { FaShapes } from 'react-icons/fa'; - -import { installFromURL } from '../../store/Store'; - -export default function GeneralSettings() { - const [pluginURL, setPluginURL] = useState(''); - // const [checked, setChecked] = useState(false); // store these in some kind of State instead - return ( - <div> - {/* <Field - label="A Toggle with an icon" - icon={<FaShapes style={{ display: 'block' }} />} - > - <Toggle - value={checked} - onChange={(e) => setChecked(e)} - /> - </Field> */} - <Field - label="Manual plugin install" - description={<TextField label={'URL'} value={pluginURL} onChange={(e) => setPluginURL(e?.target.value)} />} - icon={<FaShapes style={{ display: 'block' }} />} - > - <DialogButton onClick={() => installFromURL(pluginURL)}>Install</DialogButton> - </Field> - </div> - ); -} |
