A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
TypeScript amazon-primeelectronepic-games-launcherepic-games-storeepic-storegaminggoggog-galaxyheroic-games-launcherlinuxplay-gamesprotonsteamwine
import { useTranslation } from 'react-i18next'
import { ToggleSwitch } from 'frontend/components/UI'
import useSetting from 'frontend/hooks/useSetting'
const StartInConsoleMode = () => {
const { t } = useTranslation()
const [startInConsoleMode, setStartInConsoleMode] = useSetting(
'startInConsoleMode',
false
)
return (
<ToggleSwitch
description={t(
'setting.start-in-console-mode-description',
'Open Heroic in the big-picture interface built for controllers'
)}
htmlId="startInConsoleMode"
value={startInConsoleMode}
handleChange={() => setStartInConsoleMode(!startInConsoleMode)}
title={t('setting.start-in-console-mode', 'Start in console mode')}
/>
)
}
export default StartInConsoleMode