core-plugin-api: deprecate OldIconComponent
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/core-plugin-api': patch
|
||||
---
|
||||
|
||||
Deprecated `OldIconComponent`. Existing usage should be replaced with `IconComponent`.
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user