Add type definition for all props

This commit is contained in:
Ariful Alam
2022-03-26 18:26:04 +06:00
parent 4cb107e168
commit 2743dee9aa
3 changed files with 21 additions and 6 deletions

View File

@@ -91,14 +91,14 @@ const config = {
snippetVersion: 6,
},
themeConfig: {
default: 'corporate',
defaultTheme: 'corporate',
// Hides the switch in the navbar
// Useful if you want to support a single color mode
disableSwitch: false,
// Should we use the prefers-color-scheme media-query,
// using user system preferences, instead of the hardcoded default
// Should use the prefers-color-scheme media-query,
// using user system preferences, instead of the hardcoded defaultTheme
respectPrefersColorScheme: false,
// Available themes. To remove any theme, exclude from here.