Dynamically generate themes, and search engines
This commit is contained in:
+13
-1
@@ -4,4 +4,16 @@ interface SettingsProps extends Props {
|
||||
active: 'appearance' | 'credits' | 'links' | 'proxy';
|
||||
}
|
||||
|
||||
export type { SettingsProps };
|
||||
type DropdownOptions = {
|
||||
name: string;
|
||||
value: string;
|
||||
default?: boolean;
|
||||
};
|
||||
|
||||
const SearchEngines: Record<string, string> = {
|
||||
DuckDuckGo: "https://duckduckgo.com/?q=%s",
|
||||
Google: "https://google.com/search?q=%s",
|
||||
Bing: "https://bing.com/search?q=%s",
|
||||
};
|
||||
|
||||
export { type SettingsProps, type DropdownOptions, SearchEngines };
|
||||
|
||||
Reference in New Issue
Block a user