material-ui makeStyles: how to style by tag name?
问题 I want to add a rule for all <p> in the current component. I couldn't find information anywhere (material-ui documentation, Stack Overflow, etc.) on how to add CSS rules by tag name. Is it not supported? I'm trying to do something like this: const useStyles = makeStyles((theme: Theme) => createStyles({ 'p': { margin: 0, }, someClass: { fontSize: 14, }, }) ); EDIT: Using Ryan's solution works, but creates a new problem: import React from 'react'; import { makeStyles, Theme, createStyles } from