preliminary shortcut loading

This commit is contained in:
Alphons Joseph
2024-09-05 21:32:12 +08:00
parent 4a8ed32d3e
commit 428ad7569e
3 changed files with 25 additions and 3 deletions
+2 -1
View File
@@ -1,5 +1,4 @@
import type { SettingsState } from './AppProps';
export interface SettingsList {
title: string;
id: number;
@@ -7,6 +6,8 @@ export interface SettingsList {
Component: any; /* TODO: Give this a type */
props?: any;
}
export interface SettingsProps {
settingsState: SettingsState;
setSettingsState: React.Dispatch<React.SetStateAction<SettingsState>>;