Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Cell = ({x, y, robotX, robotY}) => {
- return (
- <td className="cell">
- {robotX == x && robotY == y ? (
- <img src={robot} className="App-robot" alt="robot" />
- ) : null}
- </td>
- );
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement