I like to change the color of the icon using `useState` by clicking on the icon, I added a click handler on the icon.

Here is my code:

```
import React, { useState } from 'react';
import './App.css';
import ThumbUpIcon from '@material-ui/icons/ThumbUp';

function App() {

  const[likeColor, setLikeColor] = useState('');

  const colorStyle = {color:"blue"}

  const handleClick = () => {
      const color = likeColor ? '' : colorStyle;
      setLikeColor(color);
  }

  return (
    <div className="App">
      <ThumbUpIcon onClick={handleClick} style={{likeColor}}></ThumbUpIcon>
    </div>
  );
}

export default App;

```