Browse Source

Update higher-order-components.md

main
Dmitry Zhuravlev-Nevsky 8 years ago
committed by GitHub
parent
commit
f45d6f3925
  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