reagire onclick dattiloscritto tipo
onClick={(event: React.MouseEvent<HTMLElement>) => {
makeMove(ownMark, (event.target as any).index)
}}
reagire dattiloscritto onclick tipo
interface IProps_Square {
message: string;
onClick: React.MouseEventHandler<HTMLButtonElement>;
}