Type error when attempting to upgrade from Emotion 10 to 11: Foo refers to a value but is being used as a type

前端 未结 0 974
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 02:18

I have the following code in a file called modal.tsx (not ts):

import * as React from \'react\';
import { createPortal } fr         


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