core-plugin-api: deprecate OldIconComponent

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-01-04 11:03:45 +01:00
parent 37c81d4e1f
commit c534ef2242
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>;