Commit 6da81a16 authored by Kristian Freeman's avatar Kristian Freeman

Update css-classes exercise with more to do

parent f13fbe35
import React, { Component } from 'react';
import classnames from 'classnames';
import './App.css';
import React, { Component } from "react";
import classnames from "classnames";
import "./App.css";
class App extends Component {
render() {
......@@ -30,10 +30,7 @@ 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
})
const divClasses = classnames({});
return (
<div className={divClasses}>
......
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