Say I have SimplePanel. I’m trying to splid the code, so I create another component in another file like const SayHi = () =>
Hi. But then When I’m trying to import SayHi my build fails with error " error Parsing error: ‘>’ expected". What do I do wrong?
Hi, do you have some code samples where the issue happens?
Hi, sory for nubbie stuff The reason was my component should have .tsx, not .ts extension!