Skip to content

Commit 62063c2

Browse files
QC-LLeoEatle
andauthored
Update content/docs/render-props.md
Co-Authored-By: LeoEatle <[email protected]>
1 parent e840972 commit 62063c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/render-props.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ function withMouse(Component) {
251251
```js
252252
<Mouse>
253253
{mouse => (
254-
<p>鼠标的位置是 {mouse.x}, {mouse.y}</p>
254+
<p>鼠标的位置是 {mouse.x}{mouse.y}</p>
255255
)}
256256
</Mouse>
257257
```

0 commit comments

Comments
 (0)