Merge pull request #8737 from backstage/rugvip/old

core-plugin-api: deprecate OldIconComponent
This commit is contained in:
Patrik Oldsberg
2022-01-04 11:48:57 +01:00
committed by GitHub
3 changed files with 7 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-plugin-api': patch
---
Deprecated `OldIconComponent`. Existing usage should be replaced with `IconComponent`.
+1 -1
View File
@@ -623,7 +623,7 @@ export const oktaAuthApiRef: ApiRef<
SessionApi
>;
// @public
// @public @deprecated
export type OldIconComponent = ComponentType<SvgIconProps>;
// @alpha
@@ -43,5 +43,6 @@ export type IconComponent = ComponentType<{
* migration, but it is not exported.
*
* @public
* @deprecated This type will be removed, use {@link IconComponent} instead.
*/
export type OldIconComponent = ComponentType<SvgIconProps>;