Advertisement
Guest User

Untitled

a guest
Mar 29th, 2020
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. const Cell = ({x, y, robotX, robotY}) => {
  2. return (
  3. <td className="cell">
  4. {robotX == x && robotY == y ? (
  5. <img src={robot} className="App-robot" alt="robot" />
  6. ) : null}
  7. </td>
  8. );
  9. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement