How to make the whole Card component clickable in Material UI using React JS?
问题 Im using Material UI Next in a React project. I have the Card component which has an image(Card Media) and text(Card Text) inside it. I also have a button underneath the text. My question is..how to make the whole card clickable? ie. Whether a user presses on the card text, or the card image or the button, it should trigger the onClick event which I call on the button. 回答1: Update for v3 — 29 of August 2018 A specific CardActionArea component has been added to cover specifically this case in