Created
November 11, 2017 14:22
-
-
Save indreklasn/47c1dc52980ed0197db2ceb5ebbb9ac0 to your computer and use it in GitHub Desktop.
glamorous hello world
This file contains hidden or 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 glamorous from 'glamorous' | |
const Wrapper = glamorous.div({ | |
backgroundColor: 'black' | |
}) | |
const Title = glamorous.h1({ | |
color: 'white' | |
}) | |
const App = () => ( | |
<Wrapper> | |
<Title> Hello JSS-React!</Title> | |
</Wrapper> | |
) | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment