[Home] forward classes to HomePageSearchBar instead of using className (#9049)

* override styles

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* add changeset

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update api report

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* forward classes instad of using className

Signed-off-by: Emma Indal <emma.indahl@gmail.com>

* update changeset breaking change, add instructions

Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
Emma Indal
2022-01-21 12:24:23 +01:00
committed by GitHub
parent 4df8c4bfd8
commit 2f0d3d3278
5 changed files with 41 additions and 27 deletions
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/plugin-search': minor
---
Forwarding classes to HomePageSearchBar instead of using className prop. For custom styles of the HomePageSearchBar, use classes prop instead:
```diff
<HomePageSearchBar
- className={searchBar}
+ classes={{ root: classes.searchBar }}
placeholder="Search"
/>
```