File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class App extends React.Component {
1919
2020 render ( ) {
2121 return (
22- < div >
22+ < div className = "component-app" >
2323 < Display
2424 value = { this . state . next || this . state . total || '0' }
2525 />
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ class Button extends React.Component {
88 render ( ) {
99 return (
1010 < button
11+ className = "component-button"
1112 onClick = { this . handleClick }
1213 >
1314 { this . props . name }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class ButtonPanel extends React.Component {
88
99 render ( ) {
1010 return (
11- < div >
11+ < div className = "component-button-panel" >
1212 < div >
1313 < Button name = "AC" clickHandler = { this . handleClick } />
1414 < Button name = "+/-" clickHandler = { this . handleClick } />
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import React from 'react';
33class Display extends React . Component {
44 render ( ) {
55 return (
6- < div >
6+ < div className = "component-display" >
77 < div >
88 { this . props . value }
99 </ div >
You can’t perform that action at this time.
0 commit comments