import jsx file in tsx compilation error

前端 未结 1 1522
时光取名叫无心
时光取名叫无心 2021-01-19 13:50

I am trying to import jsx file in tsx file. This is causing the error

error TS2604: JSX element type \'Test\' does not have any construct or call s

相关标签:
1条回答
  • 2021-01-19 14:09

    I create the jsx from tsx and after decide if use it. Or another component. You can look at the code on this github repository.

    0 讨论(0)
提交回复
热议问题