diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-07 11:27:09 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-07 11:27:09 +0000 |
| commit | 00b000a050d60e9b13ac85d6bd73fd84d5ffcf87 (patch) | |
| tree | 853985787d161e1edaed2ee7411b6ff822e0ffbc /app | |
| parent | ae3ac390d9826d11d80c5f4e030d7888a8bde023 (diff) | |
| download | mullvadvpn-00b000a050d60e9b13ac85d6bd73fd84d5ffcf87.tar.xz mullvadvpn-00b000a050d60e9b13ac85d6bd73fd84d5ffcf87.zip | |
Add CSS module transformer
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/Login.css | 3 | ||||
| -rw-r--r-- | app/components/Login.js | 3 | ||||
| -rw-r--r-- | app/index.html | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/app/components/Login.css b/app/components/Login.css new file mode 100644 index 0000000000..b59a5dbc86 --- /dev/null +++ b/app/components/Login.css @@ -0,0 +1,3 @@ +.container { + border: 1px solid green; +}
\ No newline at end of file diff --git a/app/components/Login.js b/app/components/Login.js index b2e373ff13..d2cea86b42 100644 --- a/app/components/Login.js +++ b/app/components/Login.js @@ -1,4 +1,5 @@ import React, { Component, PropTypes } from 'react'; +import styles from './Login.css'; export default class Login extends Component { static propTypes = { @@ -16,7 +17,7 @@ export default class Login extends Component { render() { return ( - <div> + <div className={styles.container}> <h2>Login</h2> <input ref="username" type="text" /> <button onClick={::this.handleLogin}>Log In</button> diff --git a/app/index.html b/app/index.html index 8811fb2df4..afe6566ca5 100644 --- a/app/index.html +++ b/app/index.html @@ -2,6 +2,7 @@ <html> <head> <title>My App</title> + <link rel="stylesheet" href="./assets/stylesheets.css" /> </head> <body> <div id="app"></div> |
