1interface IProps_Square {
2 message: string;
3 onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
4}
1onClick={(event: React.MouseEvent<HTMLElement>) => {
2 makeMove(ownMark, (event.target as any).index)
3}}
1interface IProps_Square {
2 message: string;
3 onClick: React.MouseEventHandler<HTMLButtonElement>;
4}