fixed typos (#33529)

This commit is contained in:
James Hunter
2019-01-15 17:13:49 -05:00
committed by Tom
parent 2e9f341251
commit 7d6b5a8c4c

View File

@ -1,15 +1,15 @@
--- ---
title: Compose React Components title: Compose React Components
--- ---
## Compose React Components # Compose React Components
### Hint ## Hint
Use nested components as in the previous challemge to render components. Use nested components as in the previous challenge to render components.
### Solution ## Solution
The following is the solution to the chakkenge, where it render Citrus and NonCitrus in a component which is then rendered in another: The following is the solution to the challenge, where it render `Citrus` and `NonCitrus` in a component which is then rendered in another:
```jsx ```jsx
class Fruits extends React.Component { class Fruits extends React.Component {
constructor(props) { constructor(props) {