0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

MUI Boxで式は、複雑すぎて表現できない共用体型を生成します。ts(2590) が出たときの対処法

Last updated at Posted at 2023-04-28

原因?

package.json
{
  "dependencies": {
    "@mui/material": "5.12.2",
    "@react-three/drei": "^9.66.1",
    "@react-three/fiber": "^8.13.0",
    "three": "^0.152.1",
  },
}

おソース Typescript Box conflicts with Material UI #1752

対処法

import {
  Box,
} from "@mui/material";
<Box component="div">
<Box>

Boxにcomponent="div"追加する

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?