📜  如何在材质ui useStyle中使用辅助颜色 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:18.730000             🧑  作者: Mango

代码示例1
import { makeStyles } from '@material-ui/core/';
import { Typography } from '@material-ui/core';

const useStyles = makeStyles(theme => ({
      number: {
        color: theme.palette.secondary.main
      }
    }));