Created
November 11, 2017 14:08
-
-
Save indreklasn/c90a6455e9dd7dce7b579b06d2e61413 to your computer and use it in GitHub Desktop.
JSS React
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 injectSheet from 'react-jss' | |
const styles = { | |
wrapper: { | |
background: 'black' | |
}, | |
title: { | |
color: 'white' | |
} | |
} | |
const App = ({classes}) => ( | |
<div className={classes.wrapper}> | |
<h1 className={classes.title}> | |
Hello JSS-React! | |
</h1> | |
</div> | |
) | |
export default injectSheet(styles)(App) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment