core-app-api: update app docs to reflect new theme API

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-12-31 18:41:13 +01:00
committed by Philipp Hugenroth
parent 3eca9ee94c
commit 6bdc603a52
+2 -10
View File
@@ -236,21 +236,13 @@ export type AppOptions = {
* title: 'Light Theme',
* variant: 'light',
* icon: <LightIcon />,
* Provider: ({ children }) => (
* <ThemeProvider theme={lightTheme}>
* <CssBaseline>{children}</CssBaseline>
* </ThemeProvider>
* ),
* Provider: ({ children }) => <UnifiedThemeProvider theme={themes.light} />,
* }, {
* id: 'dark',
* title: 'Dark Theme',
* variant: 'dark',
* icon: <DarkIcon />,
* Provider: ({ children }) => (
* <ThemeProvider theme={darkTheme}>
* <CssBaseline>{children}</CssBaseline>
* </ThemeProvider>
* ),
* Provider: ({ children }) => <UnifiedThemeProvider theme={themes.dark} />,
* }]
* ```
*/