Commit c245e8f5 authored by Kristian Freeman's avatar Kristian Freeman

Update with more work 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() {
......@@ -24,16 +24,13 @@ class App extends Component {
* Pass this style object as the style of the p tag below.
*/
/*
* Finally, fix the following classNames function below,
* so that the properties below are true:
* - bg-red is true
* - largePadding is true _if_ style.lineHeight is greater than 1
*/
const divClasses = classnames({
'bg-red': false,
largePadding: style.linHeight > 1
})
/*
* Finally, fix the following classNames function below,
* so that the properties below are true:
* - bg-red is true
* - largePadding is true _if_ style.lineHeight is greater than 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