material bootstrap 设计不适用于 React 18

material bootstrap design is not working at React 18

enter image description hereI have tried to install mdb-ui-kit in react version 18. is there any alternative way to install it?

此包已将 React 17 作为对等依赖项。尝试使用

强制安装
npm i mdb-react-ui-kit -- force

并测试它是否仍然有效。否则你可以将你的反应版本降级到 17.