pull/282/head
ThomSullivan 3 years ago
parent 08e294ac5d
commit ae19195ede

@ -192,7 +192,7 @@ Now, when you do console.log(props) you should get the following object, that me
}
```
As you can see in the above code, we passed only single props to Header component, the welcome props. A component can have one or many props. Props could be different data types. It could be a string, number, boolean, array, object or a function. We will cover different kind of props in the next sections.
As you can see in the above code, we passed only single props to Header component, the welcome props. A component can have one or many props. Props could be different data types. It could be a string, number, boolean, array, object or a function. We will cover different kinds of props in the next sections.
### Different data type props

Loading…
Cancel
Save