[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:
@@ -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"
|
||||
/>
|
||||
```
|
||||
Reference in New Issue
Block a user