Files
backstage/.changeset/good-poets-change.md
T
Emma Indal 2f0d3d3278 [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>
2022-01-21 12:24:23 +01:00

310 B

@backstage/plugin-search
@backstage/plugin-search
minor

Forwarding classes to HomePageSearchBar instead of using className prop. For custom styles of the HomePageSearchBar, use classes prop instead:

<HomePageSearchBar
-  className={searchBar}
+  classes={{ root: classes.searchBar }}
  placeholder="Search"
/>