diff --git a/Libraries/Text/Text.js b/Libraries/Text/Text.js
index 92c382b96..7f9907e76 100644
--- a/Libraries/Text/Text.js
+++ b/Libraries/Text/Text.js
@@ -243,11 +243,13 @@ const viewConfig = {
* ```javascript
* class MyAppHeaderText extends Component {
* render() {
- *
- *
- * {this.props.children}
- *
- *
+ * return (
+ *
+ *
+ * {this.props.children}
+ *
+ *
+ * );
* }
* }
* ```