From 9b147a53d1ab1e14d7ef5b436f1e140a28a5d6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Wed, 20 Dec 2017 12:19:39 -0800 Subject: [PATCH] Clarify use of Flow props types in cli example Summary: This was introduced as part of a codemod a few months back. Hopefully this edit makes the example code clearer. Closes https://github.com/facebook/react-native/pull/17189 Differential Revision: D6613378 Pulled By: hramos fbshipit-source-id: da7263b3ce2b5c45d6e312807c88743fe10cd15d --- local-cli/templates/HelloWorld/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/local-cli/templates/HelloWorld/App.js b/local-cli/templates/HelloWorld/App.js index d4ae45c19..dd1d45ab3 100644 --- a/local-cli/templates/HelloWorld/App.js +++ b/local-cli/templates/HelloWorld/App.js @@ -19,7 +19,8 @@ const instructions = Platform.select({ 'Shake or press menu button for dev menu', }); -export default class App extends Component<{}> { +type Props = {}; +export default class App extends Component { render() { return (