我正在重构一些组件以使用最新的MUI版本。不过,有一件事让我感到心痛,我无法在利用sx映射的同时,找到如何处理theme.spacing()道具中的断点。// old class display: "flex", [breakpoints.up("lg")]: { padding: spacing(3, 5,
我试图让我的导航响应使用断点,我已经阅读了文档,并试图实现我的代码如下图所示。import * as React from 'react';import Typography from '@mui/material/Typography';import { AppBar } from '@mui/material';
c