Error "JSX element class does not support attributes because it does not have a 'props' property" when following the tutorial

Hello

I was following the tutorial "



4 Replies

VB Vinitha Balasubramanian Syncfusion Team April 25, 2022 01:46 PM UTC

Hi Customer ,


Greetings from Syncfusion support


Query : JSX element class does not support attributes because it does not have a 'props' property


Based on your query , we have executed a local sample on React in typescript extension it works properly.


Please refer the below code example link


Sample link : https://codesandbox.io/s/adoring-cerf-hohnnq


If you have any further issues please briefly explain about your requirement .



Regards,

Vinitha Balasubramanian



ER Ernesto April 25, 2022 04:43 PM UTC

Thanks a lot. 


I was missing executing  npm install --save @types/react 





RS Rajapandiyan Settu Syncfusion Team April 26, 2022 03:56 AM UTC

Hi Ernesto,


We are glad to hear that you have resolved the reported problem.


Please get back to us if you need further assistance.


Regards,

Rajapandiyan S



YA Yagiz replied to Ernesto January 15, 2023 12:22 PM UTC

Thanks thats work



Loader.
Up arrow icon