docs: introduce deprecation docs + app-theme deprecation
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -98,7 +98,7 @@ export function AppThemeProvider({ children }: PropsWithChildren<{}>) {
|
||||
console.warn(
|
||||
"DEPRECATION WARNING: A provided app theme is using the deprecated 'theme' property " +
|
||||
'and should be migrated to use a Provider instead. ' +
|
||||
'See https://backstage.io/docs/deprecations/TODO for more info.',
|
||||
'See https://backstage.io/docs/api/deprecations#app-theme for more info.',
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
@@ -42,7 +42,7 @@ export type AppTheme = {
|
||||
|
||||
/**
|
||||
* The specialized MaterialUI theme instance.
|
||||
* @deprecated use Provider instead, see https://backstage.io/docs/deprecations/TODO
|
||||
* @deprecated use Provider instead, see https://backstage.io/docs/api/deprecations#app-theme
|
||||
*/
|
||||
theme: BackstageTheme;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user