https://codesandbox.io/s/material-demo-zi66l
diableOtherButtons = e => {
console.log("diableOtherButtons e--->", e);
};
render() {
const { classes } = this.props;
console.log("get started *8888888888888888888888888888888888888888888888");
return (
<div className={classes.root}>
<ExpansionPanel>
<ExpansionPanelSummary expandIcon={<ExpandMoreIcon />}>
<Typography className={classes.heading}>first</Typography>
</ExpansionPanelSummary>
<ExpansionPanelDetails>
<Typography>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Suspendisse malesuada lacus ex, sit amet blandit leo lobortis
eget.
<Typography>
<Button
onClick={e => {
this.diableOtherButtons("s", "d");
}}
variant="outlined"
color="primary"
size="small"
// className={classes.button}
>
button click
</Button>
</Typography>
</Typography>
</ExpansionPanelDetails>