diff --git a/content/docs/render-props.md b/content/docs/render-props.md index 5547437c..e776a7b1 100644 --- a/content/docs/render-props.md +++ b/content/docs/render-props.md @@ -41,7 +41,7 @@ class MouseTracker extends React.Component { render() { return ( -
+

Move the mouse around!

The current mouse position is ({this.state.x}, {this.state.y})

@@ -74,7 +74,7 @@ class Mouse extends React.Component { render() { return ( -
+
{/* ...but how do we render something other than a

? */}

The current mouse position is ({this.state.x}, {this.state.y})

@@ -127,7 +127,7 @@ class MouseWithCat extends React.Component { render() { return ( -
+
{/* We could just swap out the

for a here ... but then @@ -183,7 +183,7 @@ class Mouse extends React.Component { render() { return ( -

+
{/* Instead of providing a static representation of what renders,