Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript onclick event type props

interface IProps_Square {
  message: string;
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #onclick #event #type #props
ADD COMMENT
Topic
Name
9+5 =