How to pass parameter using the jsx in reactjs?
this is my code
function handleClick() {
history.push("/home");
}
.....
<Button
color="primary"
size="small"
onClick={handleClick}
className={classes.notificationbutton}>
View
</Button>
handleClick?