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
This commit is contained in:
Héctor Ramos 2017-12-20 12:19:39 -08:00 committed by Facebook Github Bot
parent 5ea5683d01
commit 9b147a53d1
1 changed files with 2 additions and 1 deletions

View File

@ -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<Props> {
render() {
return (
<View style={styles.container}>