Browse Source

Merge pull request #8927 from mitenka/patch-5

Update higher-order-components.md
main
Andrew Clark 8 years ago
committed by GitHub
parent
commit
e28c0a8dfc
  1. 2
      docs/higher-order-components.md

2
docs/higher-order-components.md

@ -95,7 +95,7 @@ class BlogPost extends React.Component {
}
render() {
return <BlogPost blogPost={this.state.blogPost} />;
return <TextBlock text={this.state.blogPost} />;
}
}
```

Loading…
Cancel
Save