Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

react onclick typescript type

onClick={(event: React.MouseEvent<HTMLElement>) => {
 makeMove(ownMark, (event.target as any).index)
}}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #onclick #typescript #type
ADD COMMENT
Topic
Name
8+5 =