material ui icon onclick code example
Example: material ui icons are not clickable how to make it clickable
//surround the whatever Icon you have inside a <IconButton><IconButton/> tag
this IconButton is being provided by @material-ui/core,so dont forget to import that