summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/SearchForm.js7
-rw-r--r--src/index.js13
2 files changed, 12 insertions, 8 deletions
diff --git a/src/components/SearchForm.js b/src/components/SearchForm.js
index 81de166..2d7eaf5 100644
--- a/src/components/SearchForm.js
+++ b/src/components/SearchForm.js
@@ -60,9 +60,10 @@ class SearchForm extends React.Component {
endAdornment: (
<InputAdornment position="end">
{this.state.searchValue !== "" && (
- <IconButton onClick={this.clearSearch}>
- <ClearIcon />
- </IconButton>
+ <ClearIcon
+ variant="clickable"
+ onClick={this.clearSearch}
+ />
)}
</InputAdornment>
)
diff --git a/src/index.js b/src/index.js
index 774086d..98c69f1 100644
--- a/src/index.js
+++ b/src/index.js
@@ -14,12 +14,15 @@ let global = createTheme({
disableElevation: true
}
},
- MuiIconButton: {
- styleOverrides: {
- root: {
- backgroundColor: "inherit !important"
+ MuiSvgIcon: {
+ variants: [
+ {
+ props: { variant: "clickable" },
+ style: {
+ cursor: "pointer"
+ }
}
- }
+ ]
},
MuiCssBaseline: {
styleOverrides: {