Questions
Q:

how to fix: Property ‘onClick’ does not exist on type error

Property ‘onClick’ does not exist on type ‘Testcomponent’

Property 'onClick'

any help?