Skip to content

Commit

Permalink
edited app component to add class
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieWesolowska committed May 16, 2023
1 parent 3f063e9 commit 5057477
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions src/components/App.jsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
import React, { Component } from 'react';
// import { Statistics } from './Statistics/Statistics';

export const App = () => {
return (
<div
style={{
height: '100vh',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
fontSize: 40,
color: '#010101',
}}
>
React homework template
</div>
);
};
export class App extends Component {
state = {
good: 0,
neutral: 0,
bad: 0,
};

countTotalFeedback = () => {};

countPositiveFeedbackPercentage = () => {};

render() {
return (
<div
style={{
height: '100vh',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
fontSize: 40,
color: '#010101',
}}
></div>
);
}
}

0 comments on commit 5057477

Please sign in to comment.