changeset for create-app

Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
Anders Näsman
2022-06-07 10:16:46 +02:00
committed by Eric Peterson
parent 93089a9d06
commit 30f04d1497
+24
View File
@@ -0,0 +1,24 @@
---
'@backstage/create-app': patch
---
Components `<DefaultResultListItem>`, `<SearchBar>`, `<SearchFilter>`, and `<SearchResult>` are now deprecated in `@backstage/plugin-search` and should be imported from `@backstage/plugin-search-react` instead.
To upgrade your App, update the following in `packages/app/src/components/search/SearchPage.tsx`:
```diff
import {
- SearchBar
- SearchFilter
- SearchResult
SearchType,
- DefaultResultListItem
} from `@backstage/plugin-search`;
import {
+ DefaultResultListItem
+ SearchBar
+ SearchFilter
+ SearchResult
useSearch,
} from `@backstage/plugin-search-react`;
```