Cannot be used as a JSX component

I want to use a component ‘SplitBox’ in theia,but there is always a mistake ,I found that there was no problem when the components were used alone,Can someone help me find out why?

@helloworld thank you for the discussion, i have not used ant myself but it seems related to questions asked online (it is not theia related afaik):

Thank you for your reply. The error has been solved, It’s really not the problem of theia.
Add the following options in ts.config file will solve the problem
“allowSyntheticDefaultImports”: true

1 Like