core-app-api: update app docs to reflect new theme API
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
committed by
Philipp Hugenroth
parent
3eca9ee94c
commit
6bdc603a52
@@ -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} />,
|
||||
* }]
|
||||
* ```
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user