Commit 2543bc8b authored by Kristian Freeman's avatar Kristian Freeman

Fix

parent d275566e
......@@ -30,9 +30,13 @@ class App extends Component {
* - bg-red is true
* - largePadding is true _if_ style.lineHeight is greater than 1
*/
const divClasses = classnames({
'bg-red': false,
largePadding: style.linHeight > 1
})
return (
<div>
<div className={divClasses}>
<h1>Welcome to React</h1>
<p>
To get started, edit <code>src/App.js</code> and save to reload.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment