Skip to content

Commit

Permalink
Corrected replacements for depreciated items
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
  • Loading branch information
Andre Wanlin committed Mar 18, 2022
1 parent d52be37 commit 2a3cac4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-pens-collect.md
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---

Corrected replacements for depreciated FilteredEntityLayout items
6 changes: 3 additions & 3 deletions plugins/catalog/src/components/FilteredEntityLayout/index.ts
Expand Up @@ -18,20 +18,20 @@ import { CatalogFilterLayout } from '@backstage/plugin-catalog-react';

/**
* @public
* @deprecated Use `FilteredCatalogLayout` from `@backstage/plugin-catalog-react` instead.
* @deprecated Use `CatalogFilterLayout` from `@backstage/plugin-catalog-react` instead.
*/
export const FilteredEntityLayout = CatalogFilterLayout as (props: {
children: React.ReactNode;
}) => JSX.Element;

/**
* @public
* @deprecated Use `FilteredCatalogLayout.Filters` from `@backstage/plugin-catalog-react` instead.
* @deprecated Use `CatalogFilterLayout.Filters` from `@backstage/plugin-catalog-react` instead.
*/
export const FilterContainer = CatalogFilterLayout.Filters;

/**
* @public
* @deprecated Use `FilteredCatalogLayout.Content` from `@backstage/plugin-catalog-react` instead.
* @deprecated Use `CatalogFilterLayout.Content` from `@backstage/plugin-catalog-react` instead.
*/
export const EntityListContainer = CatalogFilterLayout.Content;

0 comments on commit 2a3cac4

Please sign in to comment.