fix(search): Fix accidental HomePageSearchBar input classes override on spread operator
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
---
|
||||
'@backstage/plugin-search-react': patch
|
||||
'@backstage/plugin-search': patch
|
||||
'@backstage/plugin-techdocs': patch
|
||||
---
|
||||
|
||||
Fix SearchBar styles & update StoryBook stories for custom styles for `notchedOutline` class.
|
||||
|
||||
@@ -66,12 +66,12 @@ export const HomePageSearchBar = (props: HomePageSearchBarProps) => {
|
||||
onSubmit={handleSubmit}
|
||||
onChange={handleChange}
|
||||
InputProps={{
|
||||
...props.InputProps,
|
||||
classes: {
|
||||
root: classes.searchBarRoot,
|
||||
notchedOutline: classes.searchBarOutline,
|
||||
...props.InputProps?.classes,
|
||||
},
|
||||
...props.InputProps,
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user