Hooks can only be called inside of the body of a function component error when using Material UI in a package

前端 未结 0 714
时光说笑
时光说笑 2021-02-14 03:13

I\'m building a package that is using Material UI, and when exporting it as a component and using it on another project i get the following error:

× Error: I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题