changeset for create-app
Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
committed by
Eric Peterson
parent
93089a9d06
commit
30f04d1497
@@ -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`;
|
||||
```
|
||||
Reference in New Issue
Block a user