Merge pull request #3539 from russellpwirtz/patch-1

Update tutorial.md
This commit is contained in:
Paul O’Shannessy
2015-03-28 21:26:29 -07:00
parent 6343ec5d79
commit b2043987cc
+1 -1
View File
@@ -168,7 +168,7 @@ Notice how we're mixing HTML tags and components we've built. HTML components ar
### Using props
Let's create the `Comment` component, which will depend on data passed in from it's parent. Data passed in from a parent component is available as a 'property' on the child component. These 'properties' are accessed through `this.props`. Using props we will be able to read the data passed to the `Comment` from the `CommentList`, and render some markup:
Let's create the `Comment` component, which will depend on data passed in from its parent. Data passed in from a parent component is available as a 'property' on the child component. These 'properties' are accessed through `this.props`. Using props we will be able to read the data passed to the `Comment` from the `CommentList`, and render some markup:
```javascript
// tutorial4.js