Skip to content

Commit

Permalink
fix review error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Mar 25, 2019
1 parent 62063c2 commit d05c25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/render-props.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class MouseTracker extends React.Component {

```js
// 如果你出于某种原因真的想要 HOC,那么你可以轻松实现
// 使用具有 render prop 的常规组件创建一个
// 使用具有 render prop 的普通组件创建一个
function withMouse(Component) {
return class extends React.Component {
render() {
Expand Down

0 comments on commit d05c25a

Please sign in to comment.