returnnewError(['MUI: You are providing an onClick event listener to a child of a button element.','Prefer applying it to the IconButton directly.','This guarantees that the whole <button> will be responsive to click events.'].join('\n'));
}
returnnull;
}),
/**
* Override or extend the styles applied to the component.
*/
classes:PropTypes.object,
/**
* @ignore
*/
className:PropTypes.string,
/**
* The color of the component.
* It supports both default and custom theme colors, which can be added as shown in the