showing results for - "react change button color on hover"
Helena
14 Jun 2017
1  return (
2    <div className="App" style={appStyles}>
3      <button
4        className="primary"
5        style={styles}
6        onMouseEnter={() => setBgColour("#c83f49")}
7        onMouseLeave={() => setBgColour("#fafafa")}
8      >
9        {" "}
10        Red
11      </button>
12    </div>
13  );