Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

react typescript onclick type

interface IProps_Square {
  message: string;
  onClick: React.MouseEventHandler<HTMLButtonElement>;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #typescript #onclick #type
ADD COMMENT
Topic
Name
2+2 =