Created
November 4, 2017 19:31
-
-
Save msteckyefantis/74cb6c73a4ebe9fe3f70ed285750b7c0 to your computer and use it in GitHub Desktop.
Mega Green square, produces: https://s1.postimg.org/4a8yrc2373/Screen_Shot_2017-10-22_at_6.05.00_PM.png
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
'use strict'; | |
const React = require( 'react' ); | |
const e = React.createElement; | |
module.exports = class MegaGreenSquare extends React.Component { | |
render() { | |
return e( | |
'div', | |
{ | |
style: { | |
backgroundColor: 'green', | |
width: 100, | |
height: 100, | |
}, | |
} | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment