mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-24 20:00:22 +00:00
Add type definition for all props
This commit is contained in:
19
types/index.d.ts
vendored
19
types/index.d.ts
vendored
@@ -135,9 +135,24 @@ export interface ThemeConfig {
|
||||
defaultTheme: string;
|
||||
|
||||
/**
|
||||
* Snippet Version
|
||||
* Hides the switch in the navbar
|
||||
*/
|
||||
snippetVersion: number;
|
||||
disableSwitch: boolean;
|
||||
|
||||
/**
|
||||
* Should use the prefers-color-scheme media-query
|
||||
*/
|
||||
respectPrefersColorScheme: boolean;
|
||||
|
||||
/**
|
||||
* Available themes
|
||||
*/
|
||||
themes: Array<string>;
|
||||
|
||||
/**
|
||||
* Custom theme
|
||||
*/
|
||||
customTheme: object;
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
|
||||
Reference in New Issue
Block a user