Hello. Trying to use ButtonComponent in a Typescript file is causing problems. Specifically, the onClick property of ButtonComponent is defined as "MouseEventInit | undefined". This is incorrect typing, and when you try to use a function in it you get a compiler error. If you cast the value you set to "any" it works, and since all of your examples use the "bind" function which returns an "any" type, this is not obvious. But the typing is actually broken and causes compilation to fail.
CIChristopher Issac Sunder K Syncfusion Team November 29, 2018 08:04 AM
Thank you for contacting Syncfusion support.
We are able to reproduce the issue with “IncorrectTyping in onclick event in the React base” in our end. So, we have logged a defect report for the same and the fix will be included in our Essential Studio 2018 Volume 4 Service Pack-1 release which will be expected to be release in the month of January, 2019.