If you need to override some CSS in a component that you didn’t author, but aren’t sure what the options are, just use a dummy one and check the dev tools console for errors. The available class names should be listed in the error message.

const classes = useStyles()
<ExternalComponent classes={{dummy: classes.myCssClass}}/>