score:4

Accepted answer
<button
  className={classes.searchIcon}
  onClick={() => {
    console.log("I am clicked");
  }}
>
  <SearchIcon />
</button>

Related Query

More Query from same tag