Created
December 11, 2019 08:47
-
-
Save podhmo/92114a4fb7d486b7cd0035c41493eb51 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
body { | |
padding: 5rem; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Evergreen sandbox</title> | |
<link rel="stylesheet" href="./index.css" type="text/css" /> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="index.js"></script> | |
</body> | |
</html> |
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
import React from 'react' | |
import ReactDOM from 'react-dom' | |
import { Button } from 'evergreen-ui' | |
ReactDOM.render( | |
<Button>I am using 🌲 Evergreen!</Button>, | |
document.getElementById('root') | |
) |
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
{ | |
"name": "example_evergreen", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": { | |
"evergreen-ui": "^4.21.5", | |
"react": "^16.12.0", | |
"react-dom": "^16.12.0" | |
}, | |
"devDependencies": { | |
"parcel-bundler": "^1.12.4" | |
}, | |
"scripts": { | |
"start": "parcel serve index.html" | |
}, | |
"author": "", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment