Created
April 7, 2018 01:17
-
-
Save idmontie/77b49eb1cbf846b6361db37f7f693d3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Rectangle = ({ x, y }) => ( | |
<div style={{ position: 'fixed', top: `${y}px`, left: `${x}px`, height: '10px', width: '10px', backgroundColor: 'black' }} /> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment