We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21fc03 commit c997d83Copy full SHA for c997d83
exercises/05.1-second-styles/app.jsx
@@ -3,12 +3,12 @@ import ReactDOM from "react-dom";
3
import PropTypes from "prop-types";
4
5
const buttonStyles = {
6
- //write button styles here
+ // Write button styles here
7
8
};
9
10
const badgeStyles = {
11
- //write the span styles here
+ // Write the span styles here
12
13
14
@@ -22,9 +22,10 @@ const Badge = props => {
22
</button>
23
);
24
25
+
26
Badge.propTypes = {
27
label: PropTypes.string,
28
number: PropTypes.string
29
-//dont forget to change the label
30
31
ReactDOM.render(<Badge label="Alerts" number="2" />, document.querySelector("#myDiv"));
0 commit comments