Skip to content

Commit c997d83

Browse files
authored
Update app.jsx
1 parent f21fc03 commit c997d83

File tree

1 file changed

+4
-3
lines changed
  • exercises/05.1-second-styles

1 file changed

+4
-3
lines changed

exercises/05.1-second-styles/app.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import ReactDOM from "react-dom";
33
import PropTypes from "prop-types";
44

55
const buttonStyles = {
6-
//write button styles here
6+
// Write button styles here
77

88
};
99

1010
const badgeStyles = {
11-
//write the span styles here
11+
// Write the span styles here
1212

1313
};
1414

@@ -22,9 +22,10 @@ const Badge = props => {
2222
</button>
2323
);
2424
};
25+
2526
Badge.propTypes = {
2627
label: PropTypes.string,
2728
number: PropTypes.string
2829
};
29-
//dont forget to change the label
30+
3031
ReactDOM.render(<Badge label="Alerts" number="2" />, document.querySelector("#myDiv"));

0 commit comments

Comments
 (0)