mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-05-02 04:52:03 -04:00
add smokeapi settings dialog & styling #67
This commit is contained in:
@@ -30,6 +30,12 @@ export interface ProgressDialogState {
|
||||
instructions?: InstallationInstructions
|
||||
}
|
||||
|
||||
export interface SmokeAPISettingsDialogState {
|
||||
visible: boolean
|
||||
gamePath: string
|
||||
gameTitle: string
|
||||
}
|
||||
|
||||
// Define the context type
|
||||
export interface AppContextType {
|
||||
// Game state
|
||||
@@ -54,6 +60,11 @@ export interface AppContextType {
|
||||
handleSettingsOpen: () => void
|
||||
handleSettingsClose: () => void
|
||||
|
||||
// SmokeAPI settings
|
||||
smokeAPISettingsDialog: SmokeAPISettingsDialogState
|
||||
handleSmokeAPISettingsOpen: (gameId: string) => void
|
||||
handleSmokeAPISettingsClose: () => void
|
||||
|
||||
// Toast notifications
|
||||
showToast: (
|
||||
message: string,
|
||||
|
||||
Reference in New Issue
Block a user