Skip to content

Instantly share code, notes, and snippets.

@Bk201Freelance
Bk201Freelance / Tic-Tac-Toe-2.jsx
Last active September 3, 2019 18:25 — forked from thiskevinwang/Tic-Tac-Toe-2.jsx
Solution to Task #2
import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
function Square(props) {
return (
<button className="square" onClick={props.onClick}>
{props.value}
</button>
);