📜  如何禁用 sm 素材 ui 上的图像 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:11.140000             🧑  作者: Mango

代码示例1
import React from "react";
import ReactDOM from "react-dom";

import Grid from "@material-ui/core/Grid";
import Box from "@material-ui/core/Box";
import { makeStyles } from "@material-ui/core/styles";

const useStyles = makeStyles({
  gridItem: {
    border: "1px solid red"
  }
});

function App() {
  const classes = useStyles();
  return (
    
      
        XX
      
      
        YY
      
      
        ZZ
      
    
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(, rootElement);