import React, {useState} from 'react'; import IFrontendSettings from "./interfaces/IFrontendSettings"; import '../styles/settings.css'; export default function Settings({settings, changeSettings} : {settings: IFrontendSettings, changeSettings(settings: IFrontendSettings): void}) { const [frontendSettings] = useState(settings); const [showSettings, setShowSettings] = useState(false); return (
cogwheel setShowSettings(true)}/> {showSettings ?

Settings

Close Settings setShowSettings(false)}/>
TRANGA
API Settings
Rate Limits
Appearance
Sources
Mangadex Logo MangaDex
LIBRARY CONNECTORS
Komga Logo Komga
Test Reset Apply
Kavita Logo Kavita
Test Reset Apply
NOTIFICATION CONNECTORS
Gotify Logo Gotify
Test Reset Apply
Lunasea Logo LunaSea
Test Reset Apply
ntfy Logo Ntfy
Test Reset Apply
: <> }
); }